CVE-2026-94035
Received Received - Intake

Cross-Site Scripting in Drug Recommendation System 1.0

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

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

This is a stored Cross-Site Scripting (XSS) vulnerability in the Drug Recommendation System 1.0. It occurs in the /drug_recommender/index.php file where the 'full name' parameter is not properly sanitized. An attacker can inject malicious scripts via this parameter, which are then stored in the database and executed when the affected username is displayed on the dashboard.

Detection Guidance

To detect this stored XSS vulnerability, inspect the Drug Recommendation System's database for malicious scripts in the full name field. Check the /drug_recommender/profile endpoint for unsanitized user input. Monitor network traffic for unusual payloads in the username parameter.

Impact Analysis

This vulnerability allows attackers to inject malicious scripts that execute in users' browsers when viewing the dashboard. Potential impacts include unauthorized actions, data manipulation, or further client-side attacks. Attackers could steal session cookies, redirect users to malicious sites, or perform actions on behalf of users.

Compliance Impact

This vulnerability, a stored XSS flaw in the Drug Recommendation System, could impact compliance with GDPR and HIPAA by enabling unauthorized data access or manipulation. Stored XSS may allow attackers to steal sensitive user data (e.g., personal health information) or perform actions on behalf of users, violating GDPR's data protection principles and HIPAA's security requirements for protected health information.

Mitigation Strategies

Implement server-side input validation to sanitize the full name parameter. Use PHP's htmlspecialchars for output encoding. Apply a Content Security Policy (CSP) to restrict script execution. Update the application to ensure proper escaping of user-generated content.

Chat Assistant

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

EPSS Chart