Skip to main content

Drug Recommendation System EUVDEUVD-2026-92948

| CVE-2026-105705 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-10-06 VulDB GHSA-mc48-grxp-q6cg
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access add_drug.php form
  2. Delivery
    Inject crafted XSS payload
  3. Exploit
    Payload stored/reflected without encoding
  4. Execution
    Victim loads affected page
  5. Impact
    Script executes in victim browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation targets the drug-add function exposed via Admin/add_drug.php in SourceCodester Drug Recommendation System 1.0, where user-supplied input is rendered without output encoding, enabling reflected and/or stored cross-site scripting. Limiting factors: (1) user interaction is required (UI:P) - a victim must view the page hosting the injected payload; (2) the vulnerable endpoint resides under the Admin/ directory, which in typical SourceCodester deployments sits behind an administrator login, so access to that form - or luring an authenticated admin to a crafted request - is likely a prerequisite despite the input vector's PR:N claim; (3) impact is confined to the browser context (no server-side confidentiality or availability impact).

Impact

This is a low-to-moderate priority issue despite public exploit availability. The CVSS 4.0 base score is 5.3 (Medium), reflecting limited impact: only integrity is affected at Low (VI:L) with no confidentiality (VC:N) or availability (VA:N) impact and no subsequent-system (scope) impact, consistent with a typical XSS payload executing in a victim's browser context. The signals are mixed: public exploit code exists (confirmed via VulDB/GitHub) and the CVSS marks exploitation as Proof-of-Concept (E:P), but there is no CISA KEV listing and no EPSS score was provided, so there is no evidence of widespread or automated exploitation - exploitation is opportunistic at most. A key conflict must be flagged: the input CVSS vector lists PR:N (no privileges required), yet the vulnerable file is Admin/add_drug.php, strongly implying the affected form sits behind an administrative panel; if authentication is required, real-world exploitability is materially lower than the PR:N vector suggests - verify the authentication requirement against the vendor/PoC. UI:P (passive user interaction) further limits exploitation, as a victim must be induced to view the injected content. Overall this reads as a high-CVSS-relative-to-real-risk issue for a niche product rather than a fleet-wide emergency.

Exploit ScenarioDerived

An attacker submits a crafted payload through the add_drug.php form in the admin area; the application stores or reflects the input without proper output encoding (CWE-79), so when an administrator or user later views that content, attacker-controlled JavaScript executes in their browser. A public proof-of-concept documenting both reflected and stored XSS variants is available on GitHub, lowering the barrier to attack. Exploitation requires a victim to load the affected page (UI:P), and likely requires access to the admin add-drug function.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 06, 2026

Cross-site scripting (XSS) in SourceCodester Drug Recommendation System 1.0 allows remote attackers to inject malicious scripts via the Admin/add_drug.php endpoint, which execute in an authenticated administrator's browser when the drug data is rendered. The attack requires user interaction and typically administrator-level access to the vulnerable form, and while publicly available exploit code exists, the overall risk is assessed as low-to-moderate due to these prerequisites and the limited browser-context impact.

RemediationAI

No vendor-released patch has been identified at the time of analysis. The primary recommendation is to apply input validation and output encoding on all user-supplied data in Admin/add_drug.php, ideally using a well-maintained PHP framework's escaping functions (e.g., htmlspecialchars with ENT_QUOTES). As a compensating control, restrict access to the Admin/ directory using IP allowlisting or additional authentication layers, though this may impede legitimate administrative access. Deploy a Web Application Firewall (WAF) with rules to block XSS patterns; however, WAFs can sometimes be bypassed and may generate false positives. Consider implementing a Content Security Policy (CSP) header to mitigate script execution, but this requires careful configuration to avoid breaking legitimate site functionality. Monitor the VulDB advisory (https://vuldb.com/vuln/413698) for any vendor patch updates. Given the public exploit, prioritize remediation for internet-exposed instances.

Affected VersionsENISA

Drug Recommendation System 1.0

Affected Packages

euvd drug_recommendation_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a classic CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in the PHP-based SourceCodester Drug Recommendation System. The Admin/add_drug.php script fails to properly sanitize or encode user-supplied input before reflecting it back to the user or storing it in a database for later display, enabling both reflected and stored XSS. The affected product is identified by CPE cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:* (version 1.0). Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of a victim's browser session, potentially leading to session hijacking, defacement, or phishing, though the independent assessment notes that confidentiality and availability impacts are limited (C:L/I:L/A:N) and the attack requires user interaction (UI:R) and privileges (PR:L) to reach the vulnerable admin interface.

Know when Drug Recommendation System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.4 MEDIUM

Admin-area form implies at least low privileges (PR:L); XSS needs victim interaction (UI:R) and crosses into the victim's browser context (S:C) with limited C/I impact and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Oct 06, 2026 - 05:22 NVD
MEDIUM LOW
CVSS changed
Oct 06, 2026 - 05:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Oct 06, 2026 - 04:30 cve.org
MEDIUM 5.3

DescriptionCVE.org

A security flaw has been discovered in SourceCodester Drug Recommendation System 1.0. This impacts an unknown function of the file Admin/add_drug.php. Performing a manipulation results in cross site scripting. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Rare
SourceCodester hobby/educational PHP project, negligible production footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-105704 MEDIUM POC
5.5 Oct 06

Authentication bypass in SourceCodester Drug Recommendation System 1.0 lets remote, unauthenticated attackers impersonat

CVE-2026-94015 MEDIUM POC
5.5 Sep 20

SQL injection in SourceCodester Drug Recommendation System 1.0 lets a remote attacker manipulate the SQL query behind /d

CVE-2026-93997 MEDIUM POC
5.5 Sep 20

SQL injection in SourceCodester Drug Recommendation System 1.0 allows remote attackers to manipulate the ID parameter in

CVE-2026-94035 LOW POC
2.1 Sep 20

Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to inject

CVE-2026-105706 LOW POC
2.1 Oct 06

Cross-site request forgery in SourceCodester Drug Recommendation System 1.0 allows a remote attacker to make an authenti

CVE-2026-94033 LOW POC
2.0 Sep 20

Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows an authenticated user with access to

CVE-2026-94016 LOW POC
1.9 Sep 20

Stored cross-site scripting in the admin symptom-management form (drug_recommender/Admin/add_symptom) of SourceCodester

CVE-2026-105175 MEDIUM
5.5 Oct 05

SQL injection in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to execute arbitr

CVE-2026-108919 LOW
2.1 Oct 12

Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows remote, unauthenticated attackers to inject

CVE-2026-108920 LOW
2.1 Oct 12

Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 lets unauthenticated remote attackers injec

CVE-2026-105178 LOW
2.0 Oct 05

SQL injection in SourceCodester Drug Recommendation System 1.0 allows an authenticated administrator to inject arbitrary

CVE-2026-105177 LOW
2.0 Oct 05

SQL injection in the admin Drug Creation routine of SourceCodester Drug Recommendation System 1.0 lets an attacker with

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy