Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess application registration/profile form
-
DeliveryInject script into 'full name' field
-
ExploitPayload stored/reflected in page
-
ExecutionVictim views affected page
-
ImpactScript executes in victim browser context
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 submitting a malicious payload via the 'full name' input on /drug_recommender/index.php of SourceCodester Drug Recommendation System 1.0, and the payload only fires when a victim's browser subsequently renders the unsanitized value (UI:P/UI:R - victim interaction is required, e.g., viewing the profile page per the POC). No authentication is indicated by the vendor vector (PR:N), and the app must be internet-reachable. Limiting factors: impact is confined to the victim's browser context (integrity-limited, no confidentiality or availability impact), it needs a victim to view the injected content, and the affected product is an obscure application unlikely to be exposed in production. |
| Impact | This is a low-to-moderate-severity reflected/stored cross-site scripting flaw (CWE-79) in the 'full name' field of /drug_recommender/index.php in SourceCodester Drug Recommendation System 1.0. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N, score 5.3) shows network reach and no privileges but requires victim interaction (UI:P) and yields only limited integrity impact with zero confidentiality or availability impact - consistent with script injection rather than data theft or takeover. Exploitation status is 'publicly available exploit code exists' (a POC is published on GitHub under xss/profile), but there is NO EPSS score, NO CISA KEV listing, and no evidence of active exploitation; POC availability is a distinct and weaker signal than in-the-wild use. The SSVC-style read is: automatable exploitation is plausible for the injection itself, but technical impact is partial and gated on a victim rendering the payload. Net: this is a real but low-priority issue - a VulDB CVE-mill entry against an obscure hobby PHP application, not an enterprise emergency. Note the source only provides a CVSS 4.0 vector, not a 3.1 vector, and the exact injection type (reflected vs. stored) is inferable but not explicitly confirmed by the description. |
| Exploit ScenarioDerived | An attacker submits a crafted 'full name' value containing a JavaScript payload to /drug_recommender/index.php; when the value is rendered back (e.g., on a profile view page, per the POC path xss/profile), the script executes in the victim's browser session. A public POC exists on GitHub (KaranParelkar), so weaponization requires minimal skill. Impact is limited to session/UI actions in the victim's browser context - cookie theft, DOM manipulation, or phishing - with no direct server compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 20, 2026
Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to inject arbitrary script through the 'full name' argument processed by /drug_recommender/index.php, with the payload executing in a victim's browser once the unsanitized value is rendered. Publicly available exploit code exists - a GitHub proof-of-concept README documents the injection path (profile XSS) - but there is no evidence of confirmed active exploitation, and the vendor/analyst scoring places this at 5.3 (CVSS 4.0 AV:N/AC:L/PR:N/UI:P, with the independent assessment using CVSS 3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), reflecting integrity-limited impact with no confidentiality or availability loss. Overall this is a low-to-moderate risk issue: it requires victim interaction and an internet-reachable deployment of an obscure PHP application unlikely to be exposed in production.
RemediationAI
No vendor-released patch was identified at time of analysis, and the CPE wildcard indicates no fixed version is published for Drug Recommendation System 1.0, so remediation must be compensating-control driven. The most effective code-level fix is to apply context-appropriate output encoding (for example PHP htmlspecialchars with ENT_QUOTES) at the point where the 'full name' value is written into the HTML response, combined with server-side input validation that rejects markup characters on submission; because the application is a self-hosted PHP script, this change is straightforward to apply locally even without an upstream release, but it must be re-applied if the codebase is ever updated. If the code cannot be modified, remove the application from internet exposure - restrict /drug_recommender/ to trusted internal networks or place it behind authentication at a reverse proxy - which eliminates the unauthenticated attack path at the cost of losing remote access for legitimate users. A web application firewall or reverse-proxy rule that detects script markup in the 'full name' parameter and escapes or blocks it on response provides a partial mitigation, but signature-based filtering is bypassable and should not be the only control. Disabling the profile display page that renders the injected value would break the exploit's required victim-viewing step, at the cost of losing that feature. Monitor the VulDB advisory at https://vuldb.com/vuln/407963 and the SourceCodester site at https://www.sourcecodester.com/ for a patched release, and review the public proof-of-concept at https://github.com/KaranParelkar/Drug_recommendation_system/blob/main/xss/profile/Readme.md to confirm which rendering path needs hardening.
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 root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), the classic cross-site scripting class, in a PHP web application distributed by SourceCodester. The affected endpoint, /drug_recommender/index.php, accepts the 'full name' parameter (likely a profile or registration field) and later renders the stored/reflected value without output encoding, so an attacker-supplied string containing HTML/script markup is interpreted by the browser as executable content rather than inert text. The 4.0 vector's UI:P (and the 3.1 UI:R in the independent assessment) confirms that the payload does not fire on submission alone - a victim must subsequently view the rendered page, for example the profile view referenced in the public proof-of-concept. PR:N in both vectors indicates the injection can be performed without authentication, meaning any internet-facing instance is reachable by an unauthenticated attacker. The CPE entry cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:* carries a wildcard version, so no fixed release is identified within the affected product range. Impact stays confined to the victim's browser context: script can alter page content or act on the victim's behalf within the application's origin, but the assessed vector shows no confidentiality (C:N) or availability (A:N) effect and only limited integrity change.
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
Remotely reachable input with no auth (PR:N) but requires a victim to render the payload (UI:R); scope-changed browser execution yields limited C/I and no availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in SourceCodester Drug Recommendation System 1.0. Impacted is an unknown function of the file /drug_recommender/index.php. Executing a manipulation of the argument full name can lead to cross site scripting. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized.
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
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
SQL injection in SourceCodester Drug Recommendation System 1.0 allows an authenticated administrator to inject arbitrary
SQL injection in the admin Drug Creation routine of SourceCodester Drug Recommendation System 1.0 lets an attacker with
EUVD-2026-83751
GHSA-9r76-496v-3crr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB