CVE-2026-94035 Details
Description
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.
A stored cross-site scripting vulnerability has been identified in SourceCodester Drug Recommendation System version 1.0. The issue resides in the '/drug_recommender/profile' endpoint, where user input in the 'full name' parameter is not properly sanitized before being saved. This malicious input is later executed as JavaScript when the '/drug_recommender/index.php' page is accessed, affecting all users who view the dashboard.
Users are advised to implement proper output encoding for user-generated content before displaying it in HTML. For PHP applications, this can be done using the 'htmlspecialchars' function. Additionally, server-side validation of input should be applied, and a Content Security Policy may be implemented to mitigate the effects of successful XSS attacks.
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 24, 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/profile/Readme.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-94035 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/946208 | [email protected] | Permission Required |
| https://vuldb.com/vuln/407963 | [email protected] | Permission Required |
| https://vuldb.com/vuln/407963/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 | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | CVE Modified | CISA-ADP |
| Sep 20, 2026 | New CVE Received | [email protected] |
Volerion