CVE-2026-94016 Details
Description
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.
A reflected cross-site scripting vulnerability has been identified in SourceCodester Drug Recommendation System version 1.0. The issue arises in the '/drug_recommender/Admin/add_symptom' endpoint, specifically within the 'txtname' parameter. The vulnerability allows for the injection of malicious scripts, which are executed in the context of the user's browser. This flaw can be exploited remotely, and the details of the exploit have been made public.
It is recommended to apply context-aware output encoding before reflecting user input into HTML. In PHP, use 'htmlspecialchars' to encode values when rendering them back into an attribute. Additionally, implement server-side input validation to allow only expected characters per field. Finally, set the HttpOnly, Secure, and SameSite flags on session cookies.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 20, 2026CISA-ADP
Assessed Sep 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/KaranParelkar/Drug_recommendation_system/blob/main/xss/add_symptom/Readme.md | [email protected] | ExploitTechnical Description |
| https://vuldb.com/cve/CVE-2026-94016 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/944874 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/407956 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/407956/cti | [email protected] | AdvisoryPermission Required |
| https://www.sourcecodester.com/ | [email protected] | ProductVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SourceCodester Drug Recommendation System | 1.0 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 22, 2026 | CVE Modified | CISA-ADP |
| Sep 20, 2026 | New CVE Received | [email protected] |
Volerion