CVE-2026-94016
Received Received - Intake

Cross-Site Scripting in Drug Recommendation System 1.0

Vulnerability report for CVE-2026-94016, 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 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.

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-94016 is a reflected Cross-Site Scripting (XSS) vulnerability in the Drug Recommendation System 1.0. It exists in the /drug_recommender/Admin/add_symptom endpoint where the txtname parameter is improperly handled. Attackers can inject malicious JavaScript by manipulating this parameter, which is then reflected back in the server's response without proper encoding.

Detection Guidance

To detect this reflected XSS vulnerability, inspect the /drug_recommender/Admin/add_symptom endpoint for improper handling of the txtname parameter. Test by submitting a payload like Test"><script>alert(1)</script> in the Name field and observe if the script executes in the response. Check if user input is reflected without proper output encoding.

Impact Analysis

This vulnerability allows attackers to execute arbitrary JavaScript in the context of a user's browser. If an authenticated administrator is tricked into visiting a malicious page, the attacker could steal session cookies (like PHPSESSID) due to the lack of HttpOnly flag, leading to session hijacking. The injected script could also be stored in the database and executed when viewed later.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements under GDPR and HIPAA. Session hijacking may result in data breaches, triggering mandatory breach notifications and potential fines. The lack of CSRF protection further increases the risk of unauthorized actions.

Mitigation Strategies

Implement context-aware output encoding such as htmlspecialchars in PHP before reflecting user input. Enforce server-side input validation to allow only expected characters. Set the HttpOnly flag on session cookies to prevent session hijacking. Add CSRF protection to prevent unauthorized form submissions.

Chat Assistant

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

EPSS Chart