Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to admin panel (PR:H)
-
DeliverySubmit add_symptom with script in txtname
-
ExploitPayload stored in application
-
ExecutionAdmin views symptom data
-
ImpactScript executes in admin browser session
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 | Requires an authenticated high-privilege administrator account to reach and submit the /drug_recommender/Admin/add_symptom form (PR:H), and requires a victim to subsequently view the page rendering the stored txtname value (UI:P/interaction). Exploitation is therefore effectively limited to the admin context - an already-privileged operator injecting script that fires in an admin's browser - which is closer to self-XSS than a cross-privilege attack. No special non-default configuration is stated, but the admin-authentication and victim-view requirements are the primary limiting factors. |
| Impact | Low real-world priority despite a public exploit. The vendor CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/E:P) scores only 4.8 and its own metrics tell the story: PR:H means the attacker must already hold high (administrator) privileges, and UI:P means a victim must interact with the injected content. The affected endpoint path /drug_recommender/Admin/add_symptom confirms an authenticated admin-panel function, so the injection is largely self-XSS by an already-privileged operator with limited additional gain (VC:N, VI:L, VA:N - integrity-only, no confidentiality or availability impact). SSVC-style reading: exploitation is 'Proof of Concept' (E:P) and technical impact is partial, not total. There is no EPSS score, no CISA KEV listing, and only VulDB reporting - signals that point to a low-value CVE-mill entry rather than a targeted or widespread threat. A public POC exists (GitHub, KaranParelkar), but POC availability is NOT the same as active exploitation; there is no evidence of in-the-wild use. Net: high-CVSS is not in play here - this is a genuinely low-risk, admin-context XSS. |
| Exploit ScenarioDerived | An authenticated administrator submits the 'add_symptom' form with a malicious script payload in the txtname argument, which is stored and later rendered without sanitization, executing JavaScript in the browser of an admin viewing that data. A public proof-of-concept for the txtname parameter is available on GitHub, but exploitation requires existing high-privilege (admin) access plus a victim viewing the injected page, sharply limiting practical impact. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 20, 2026
Stored cross-site scripting in the admin symptom-management form (drug_recommender/Admin/add_symptom) of SourceCodester Drug Recommendation System 1.0 lets a user supply malicious content through the txtname argument that is later rendered in a browser without proper output encoding. The attack is remote but gated behind a high-privilege administrator account (CVSS PR:H) and requires a victim to view the affected admin page (UI:P/UI:R), which effectively restricts exploitation to the admin context - closer to self-XSS than a cross-privilege attack - and makes this a low real-world priority despite a public exploit. Publicly available exploit code exists (a GitHub PoC walkthrough linked from the CVE record); there is no indication of confirmed active exploitation (not in CISA KEV), and the independent assessment rates the overall real-world risk as low.
RemediationAI
No vendor-released patch identified at time of analysis, and no fixed version number is provided in any of the supplied references (VulDB entry 407956 and the upstream CVE record carry no patch link). Because the flaw only yields a meaningful impact inside the administrator's own session, the highest-value compensating control is to restrict reachability of the admin panel: block /drug_recommender/Admin/* from untrusted networks, bind it to localhost, or place it behind a VPN/allowlist - the trade-off is that remote administration becomes impossible from outside that network and legitimate admins need connectivity to the allowed path. If the admin panel must stay reachable, add a reverse-proxy or WAF rule that rejects HTML/script delimiters in the txtname parameter of POST requests to add_symptom (trade-off: tuned WAF rules can be bypassed with encoding variants and may break legitimate data entry), and deploy a strict Content-Security-Policy with no inline script on admin routes (trade-off: CSP requires a compatible front end and the application's own inline scripts may break). Additionally, enforce output encoding on every place the stored txtname value is rendered (HTML-encoding at render time, not input filtering alone), and treat any deployment of this demo application as non-production until the vendor ships a fix; monitor the VulDB entry and https://www.sourcecodester.com/ for a patched release.
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
This is a CWE-79 (Improper Neutralization of Input During Web Page Generation) flaw in a PHP-based web application. The vulnerable handler is the administrative symptom-creation endpoint at /drug_recommender/Admin/add_symptom, where the txtname parameter is accepted and persisted, then rendered into an admin-facing page without HTML/JavaScript escaping. The reported CPE, cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:*, identifies the SourceCodester Drug Recommendation System as the affected product family, with 1.0 named in the description; the application is distributed as source code via sourcecodester.com, and the corresponding CPE version range is left open-ended in the feed data rather than pinned to a single build. The 4.0 CVSS vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P) confirms network reachability and low attack complexity but requires high privileges and user interaction, with only low integrity impact and no confidentiality or availability impact - the E:P metric also incorporates the existence of a public proof of concept. The independent assessment maps this to CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N, agreeing on privilege and interaction requirements while scoring scope change and low confidentiality/integrity impact; both vectors agree that a privileged operator injects script that executes in an admin's browser, which is why the practical severity is bounded.
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:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Admin-only stored XSS via a back-office form so PR:H; requires a victim to view the payload (UI:R); script crosses into the rendering context (S:C) with limited confidentiality/integrity and no availability impact.
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. This impacts an unknown function of the file /drug_recommender/Admin/add_symptom. Performing a manipulation of the argument txtname results in cross site scripting. Remote exploitation of the attack is possible. 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
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
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-83739
GHSA-j97g-6cp9-956m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB