CVE-2026-94034 Details
Description
A vulnerability was found in SourceCodester Drug Recommendation System 1.0. This issue affects some unknown processing of the file /drug_recommender/Admin/change_password of the component Password Change. Performing a manipulation of the argument txtoldpassword/txtnewpassword results in cross site scripting. The attack can be initiated remotely. The exploit has been made public and could be used.
A reflected cross-site scripting vulnerability has been identified in SourceCodester Drug Recommendation System version 1.0. The issue arises in the password change component, specifically within the '/drug_recommender/Admin/change_password' file. The vulnerability allows for the injection of malicious scripts through the 'txtoldpassword' and 'txtnewpassword' parameters. This exploitation can be performed 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 21, 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/change_password/Readme.md | [email protected] | ExploitTechnical Description |
| https://vuldb.com/cve/CVE-2026-94034 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/946175 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/407962 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/407962/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 21, 2026 | CVE Modified | CISA-ADP |
| Sep 20, 2026 | New CVE Received | [email protected] |
Volerion