Skip to main content

Drug Recommendation System CVE-2026-140261

| EUVDEUVD-2026-139980 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-12-01 VulDB GHSA-x8mg-rjpf-5prf
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify patient.php registration form
  2. Delivery
    Inject script via txtname argument
  3. Exploit
    Victim submits/renders crafted input
  4. Execution
    Script executes in victim browser
  5. Impact
    Session/UI integrity compromised

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the specific SourceCodester Drug Recommendation System 1.0 Patient Registration feature (patient.php), where the txtname argument is reflected without proper output encoding, enabling cross site scripting. Per CVSS UI:P, exploitation is NOT fully autonomous - it requires victim user interaction (submitting or viewing the crafted txtname input) for the injected script to execute, which is the primary limiting factor. The attack is network-initiated and needs no authentication (PR:N), but impact is confined to the vulnerable application's integrity (VI:L, no confidentiality or availability impact). Realistic risk is further bounded by the product's niche deployment.

Impact

All signals converge on low real-world priority. The CVSS 4.0 base score is 2.1 (Low) with vector AV:N/AC:L/AT:N/PR:N/UI:P, meaning the flaw is network-reachable and unauthenticated but requires victim user interaction (UI:P) and yields only limited integrity impact to the vulnerable system (VI:L) with no confidentiality or availability impact - consistent with a reflected cross-site scripting issue (CWE-79). EPSS is 0.49% (44th percentile), indicating low modeled exploitation probability. The flaw is NOT on the CISA KEV list, so there is no confirmed active exploitation. The vuln.today decision label is 'monitor', the lowest urgency tier, which agrees with the low CVSS and low EPSS. The only elevating signal is a public PoC reference, but it is a VulDB-linked GitHub report that is not verified as working, weaponized exploit code; PoC availability must not be conflated with active exploitation. These signals are internally consistent - there is no CVSS/description conflict to flag - but note the impact is entirely dependent on UI:P (a victim must interact with the attacker-supplied input), which materially limits practical risk. Net: a genuine-but-minor web app bug, not an operational emergency.

Exploit ScenarioDerived

An attacker crafts a malicious value for the txtname parameter on the Patient Registration page (patient.php) and lures a victim into submitting or viewing it, causing attacker-controlled script to execute in the victim's browser session in the context of the application. A public PoC reference exists (a VulDB-linked GitHub report), though it is not verified as working exploit code; because UI:P applies, successful exploitation depends on victim interaction rather than a fully automated remote attack.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Reflected cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows remote unauthenticated attackers to inject script through the txtname argument of patient.php, which executes in a victim's browser when the manipulated registration input is viewed. Impact is confined to integrity (CVSS 2.1; assessed CVSS:3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N) and depends on victim user interaction, which is the primary limiting factor. A public PoC reference exists but is not verified as working exploit code; EPSS is 0.49% (44th percentile), the vuln.today decision label is monitor, and no confirmed active exploitation has been reported.

RemediationAI

No vendor-released patch was identified at time of analysis, and the VulDB record at https://vuldb.com/vuln/446854 is the reference to monitor for a fix or vendor statement. The most direct compensating control is to apply context-aware output encoding to the txtname value before it is written back into the patient registration page in patient.php (for example htmlspecialchars with ENT_QUOTES and UTF-8), and to constrain that field to an expected character set; the trade-off is that legitimate names containing quotes or angle brackets may render differently and require normalization. Adding a restrictive Content-Security-Policy to the application reduces script execution even when reflection occurs, but may break any inline JavaScript the application relies on. Because exploitation requires a victim to submit or view the crafted input, limiting the Patient Registration workflow to trusted networks or placing a WAF rule in front of patient.php blocks delivery of crafted payloads at the cost of restricting normal registration use. The public PoC reference at https://github.com/qwer1230011107/vuldb-reports/blob/main/drug-recommender/02-XSS.md can be used to validate that any applied fix actually neutralizes the reflection. Given the 0.49% EPSS score, the monitor decision label, and the absence of confirmed active exploitation, these controls can be scheduled rather than emergency-applied.

Affected VersionsENISA

Drug Recommendation System 1.0

Affected Packages

euvd drug_recommendation_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is a PHP-based web application, SourceCodester Drug Recommendation System 1.0 (CPE cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:*, with EUVD listing version 1.0). The flaw is CWE-79, improper neutralization of input during web page generation: the txtname argument handled by patient.php in the Patient Registration feature is reflected without proper output encoding, so attacker-supplied markup is rendered back into the victim's browser context. The CVSS 4.0 vector supplied with the record rates AC:L, AT:N, PR:N and UI:P with E:P (proof-of-concept exploit maturity), while the independent assessment uses CVSS:3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N - network-reachable and requiring no authentication, but not autonomous: a victim must submit or view the crafted txtname input for the injected script to execute, and the resulting impact is limited to the vulnerable application's integrity, with no confidentiality or availability effect. Beyond the identified patient.php/txtname path, the trigger details for any other functionality are not described in the available sources.

Know when Drug Recommendation System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 4.7 MEDIUM

Reflected XSS is network-reachable with no auth (PR:N) but needs victim interaction (UI:R); it crosses into the browser context (S:C) with limited integrity impact only.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Dec 01, 2026 - 11:22 NVD
MEDIUM LOW
CVSS changed
Dec 01, 2026 - 11:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Dec 01, 2026 - 09:00 cve.org
LOW 2.1

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 56% exploitable
Prevalence
Rare
SourceCodester hobby/educational PHP project, negligible production enterprise footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-105704 MEDIUM POC
5.5 Oct 06

Authentication bypass in SourceCodester Drug Recommendation System 1.0 lets remote, unauthenticated attackers impersonat

CVE-2026-94015 MEDIUM POC
5.5 Sep 20

SQL injection in SourceCodester Drug Recommendation System 1.0 lets a remote attacker manipulate the SQL query behind /d

CVE-2026-93997 MEDIUM POC
5.5 Sep 20

SQL injection in SourceCodester Drug Recommendation System 1.0 allows remote attackers to manipulate the ID parameter in

CVE-2026-140587 MEDIUM POC
5.5 Dec 01

SQL injection in SourceCodester Drug Recommendation System 1.0 allows remote attackers to manipulate the txtpassword arg

CVE-2026-94035 LOW POC
2.1 Sep 20

Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to inject

CVE-2026-105705 LOW POC
2.1 Oct 06

Cross-site scripting (XSS) in SourceCodester Drug Recommendation System 1.0 allows remote attackers to inject malicious

CVE-2026-105706 LOW POC
2.1 Oct 06

Cross-site request forgery in SourceCodester Drug Recommendation System 1.0 allows a remote attacker to make an authenti

CVE-2026-94033 LOW POC
2.0 Sep 20

Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows an authenticated user with access to

CVE-2026-94016 LOW POC
1.9 Sep 20

Stored cross-site scripting in the admin symptom-management form (drug_recommender/Admin/add_symptom) of SourceCodester

CVE-2026-105175 MEDIUM
5.5 Oct 05

SQL injection in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to execute arbitr

CVE-2026-108919 LOW
2.1 Oct 12

Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows remote, unauthenticated attackers to inject

CVE-2026-108920 LOW
2.1 Oct 12

Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 lets unauthenticated remote attackers injec

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy