Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-140261 — SourceCodester Drug Recommendation System

Low · CVSS 2.1EPSS 0.5% First seen December 01, 2026

One of 2 SourceCodester Drug Recommendation System vulnerabilities published together by NVD: our article covers all of them.

PHPWebVulnerabilities

Summary

A security flaw has been discovered in SourceCodester Drug Recommendation System 1.0. Affected by this vulnerability is an unknown functionality of the file patient.php of the component Patient Registration. Performing a manipulation of the argument txtname results in cross site scripting. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Low · 2.1 CVSS 4.0 base score from the CNA (vuldb.com)

An attacker without an account can exploit this over the network if a user views or visits something.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
yes, a user must view or visit something
Impact
low on integrity, none on confidentiality and availability
Impact on other systems
none
Exploit maturity
a proof-of-concept exploit is public

Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 4.3 from the CNA (vuldb.com): CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Affected and fixed versions

ProductAffected versionsFixed in
SourceCodester Drug Recommendation System1.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • SourceCodester Drug Recommendation System

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-140261?

A security flaw has been discovered in SourceCodester Drug Recommendation System 1.0. Affected by this vulnerability is an unknown functionality of the file patient.php of the component Patient Registration. Performing a manipulation of the argument txtname results in cross site scripting. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).

How severe is CVE-2026-140261?

CVE-2026-140261 has a CVSS 4.0 base score of 2.1 (low), from the CNA (vuldb.com). An attacker without an account can exploit this over the network if a user views or visits something.

Is CVE-2026-140261 being exploited?

Not as far as is known: CVE-2026-140261 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-140261?

SourceCodester Drug Recommendation System 1.0.

How do I fix CVE-2026-140261?

Follow the advisories and patches linked on this page under References for fixed versions and workarounds.

Timeline & sources

References

Related vulnerabilities & news