Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify patient.php registration form
-
DeliveryInject script via txtname argument
-
ExploitVictim submits/renders crafted input
-
ExecutionScript executes in victim browser
-
ImpactSession/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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Drug Recommendation System
View allAuthentication bypass in SourceCodester Drug Recommendation System 1.0 lets remote, unauthenticated attackers impersonat
SQL injection in SourceCodester Drug Recommendation System 1.0 lets a remote attacker manipulate the SQL query behind /d
SQL injection in SourceCodester Drug Recommendation System 1.0 allows remote attackers to manipulate the ID parameter in
SQL injection in SourceCodester Drug Recommendation System 1.0 allows remote attackers to manipulate the txtpassword arg
Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to inject
Cross-site scripting (XSS) in SourceCodester Drug Recommendation System 1.0 allows remote attackers to inject malicious
Cross-site request forgery in SourceCodester Drug Recommendation System 1.0 allows a remote attacker to make an authenti
Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows an authenticated user with access to
Stored cross-site scripting in the admin symptom-management form (drug_recommender/Admin/add_symptom) of SourceCodester
SQL injection in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to execute arbitr
Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows remote, unauthenticated attackers to inject
Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 lets unauthenticated remote attackers injec
EUVD-2026-139980
GHSA-x8mg-rjpf-5prf
NVD
CVE.org
EPSS
VulDB
Exploit-DB