Description
A vulnerability has been found in SourceCodester Drug Recommendation System 1.0. This vulnerability affects unknown code of the file /drug_recommender/Admin/add_user of the component User Management. Such manipulation of the argument txtname/txtemail/txtpassword leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Published: 2026-09-20
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Cross‑Site Scripting
Action: Apply Patch
AI Analysis

Impact

A vulnerability exists in the User Management component of SourceCodester Drug Recommendation System, where unfiltered input submitted via the txtname, txtemail, and txtpassword arguments of the /drug_recommender/Admin/add_user endpoint can be used to inject malicious scripts. The flaw permits an attacker to deliver scripts that run in the context of a victim’s browser, potentially enabling actions such as session hijacking, data theft, or defacement. The weakness is a classic reflected or stored XSS flaw (CWE‑79) and may also allow code injection through improperly sanitized parameters (CWE‑94). The impact is limited to the browsers of users who interact with the affected interface, but it can compromise confidentiality, integrity, and availability of user sessions.

Affected Systems

The affected product is SourceCodester Drug Recommendation System version 1.0, as identified in the source code at /drug_recommender/Admin/add_user. No other versions or components are listed in the CVE data. The vulnerability is triggered through remote HTTP requests to the add_user function, which processes user-supplied values without proper sanitization.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate risk. EPSS data are not available, but the vulnerability has been publicly disclosed and a proof‑of‑concept has been released, implying that exploitation is feasible. The flaw can be triggered remotely via crafted web requests to the add_user endpoint. It is not currently listed in the CISA KEV catalog, but the public availability of the exploit means it could be used by adversaries. The combination of remote reach, moderate severity, and publicly known exploit means that systems running the affected version should consider the vulnerability as actionable threat.

Generated by OpenCVE AI on September 20, 2026 at 16:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SourceCodester Drug Recommendation System to the latest released version that includes a fix for the XSS issue.
  • Validate and sanitize all input fields (txtname, txtemail, txtpassword) on the server side before rendering or storing, ensuring that script tags and JavaScript payloads are rejected or escaped.
  • Deploy a Content Security Policy that restricts the execution of inline scripts and disallows unsafe script sources, thereby reducing the impact of any remaining injection attempts.

Generated by OpenCVE AI on September 20, 2026 at 16:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 20 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Description A vulnerability has been found in SourceCodester Drug Recommendation System 1.0. This vulnerability affects unknown code of the file /drug_recommender/Admin/add_user of the component User Management. Such manipulation of the argument txtname/txtemail/txtpassword leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Title SourceCodester Drug Recommendation System User Management add_user cross site scripting
First Time appeared Sourcecodester
Sourcecodester drug Recommendation System
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester drug Recommendation System
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Sourcecodester Drug Recommendation System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-20T14:45:10.410Z

Reserved: 2026-09-19T17:48:26.069Z

Link: CVE-2026-94033

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-20T15:16:30.553

Modified: 2026-09-20T15:16:30.553

Link: CVE-2026-94033

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T16:30:18Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')