CVE-2026-94034
Received Received - Intake

Password Change XSS in Drug Recommendation System 1.0

Vulnerability report for CVE-2026-94034, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-20

Last updated on: 2026-09-20

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-20
Last Modified
2026-09-20
Generated
2026-09-20
AI Q&A
2026-09-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester drug_recommendation_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-94034 is a reflected Cross-Site Scripting (XSS) vulnerability in the Drug Recommendation System 1.0. It affects the password change functionality at the /drug_recommender/Admin/change_password endpoint. The vulnerability occurs because user input in txtoldpassword and txtnewpassword parameters is reflected back without proper encoding, allowing malicious JavaScript injection.

Detection Guidance

To detect this reflected XSS vulnerability, test the /drug_recommender/Admin/change_password endpoint by submitting crafted input in txtoldpassword and txtnewpassword parameters. Use a payload like "> <script>alert(1)</script> and check if the script executes in the response. Tools like Burp Suite or curl can automate this testing.

Impact Analysis

An attacker could exploit this to inject malicious scripts into the administrator's browser. Since the session cookie lacks the HttpOnly flag, the attacker could steal the session cookie via document.cookie and hijack the admin's session. This requires tricking an authenticated admin into submitting a crafted request.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection principles and HIPAA's security requirements. It may result in data breaches, unauthorized disclosure, and non-compliance with confidentiality and integrity controls.

Mitigation Strategies

Implement context-aware output encoding (e.g., PHP's htmlspecialchars) for user inputs. Add server-side input validation to restrict input to expected characters. Ensure session cookies have the HttpOnly flag set to prevent cookie theft. Add CSRF protection to the form to prevent unauthorized submissions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-94034. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart