Skip to main content

Drug Recommendation System EUVDEUVD-2026-97757

| CVE-2026-108919 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-10-12 VulDB GHSA-q9qf-g4q2-2gv2
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Reach public registration page
  2. Delivery
    Submit form with crafted script in txtname/txtemail field
  3. Exploit
    Payload stored/reflected by add_student.php
  4. Execution
    Victim browser renders injected JavaScript
  5. Impact
    Script runs in victim session context

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 requires the Student Registration feature exposed via Auth/add_student.php to be reachable, and an attacker supplies a script payload in the txtname, txtpassword, txtemail, txtphone, or txtprevious_school parameter. The key LIMITING factor is required user interaction (UI:P): the injected payload only executes when a victim - most plausibly an administrator or operator viewing submitted registration data - renders the tainted output in a browser; it does not fire against the attacker alone. No authentication is needed to inject (PR:N per the CVSS 4.0 vector). Impact is bounded to the victim's browser session within this specific application (SourceCodester Drug Recommendation System 1.0); there is no server-side code execution.

Impact

This is a low-to-moderate priority issue despite public exploit availability. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N) scores 5.3 (Medium): network-reachable and unauthenticated, but requiring victim interaction (UI:P) and yielding only low integrity impact with no confidentiality or availability impact per the supplied vector. CWE-79 (cross-site scripting) is consistent with the description. Exploitation status: publicly available exploit code exists (VulDB notes the exploit has been made public), but this is distinct from active exploitation - the CVE is NOT in CISA KEV and no EPSS score was provided in the input. SSVC/automatable signals are absent. The vector's SSVC-relevant exploitation sub-score E:P (Proof-of-Concept) corroborates POC rather than weaponized use. Net: a real but modest web-app flaw; the combination of a niche hobby/educational product, required user interaction, and absence of KEV/EPSS evidence points to opportunistic rather than widespread or targeted exploitation. Note a conflict worth flagging: the input vector sets VC:N (no confidentiality impact), yet real-world XSS commonly enables session/cookie theft - verify impact scope against the actual sink behavior.

Exploit ScenarioDerived

An unauthenticated attacker submits the student registration form at Auth/add_student.php with a malicious script payload in one of the fields (txtname, txtpassword, txtemail, txtphone, or txtprevious_school). When the stored/reflected value is later rendered in a browser (e.g., an administrator reviewing registrations), the injected JavaScript executes in that victim's session context. A public proof-of-concept exists, and the low attack complexity (AC:L) makes crafting the payload trivial, though execution depends on a victim viewing the tainted output (UI:P).

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 12, 2026

Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows remote, unauthenticated attackers to inject script payloads into the Student Registration workflow at Auth/add_student.php via the txtname, txtpassword, txtemail, txtphone and txtprevious_school fields. Publicly available exploit code exists (CVSS 4.0 E:P, CVSS 3.1 base 5.3) and the injected script executes only when a victim - plausibly an administrator reviewing submitted registration records - renders the tainted output in a browser, so impact is bounded to that victim's browser session within the application. Exploitation is not confirmed actively exploited (not in CISA KEV), and no vendor-released patch was identified at time of analysis, making this a low-to-moderate priority issue despite the public exploit.

RemediationAI

No vendor-released patch was identified at time of analysis, so no fixed version number can be cited and defenders must rely on compensating controls. The most effective immediate step is to restrict reachability of Auth/add_student.php: place it behind authentication or IP allow-listing, or remove/disable the Student Registration feature if it is not operationally required - the trade-off is that legitimate self-registration by students or staff stops working, and any authenticated-only workaround still leaves stored payloads reachable by administrators who review submissions. If the form must stay public, add server-side validation on the five parameters (txtname, txtpassword, txtemail, txtphone, txtprevious_school) that rejects or strips HTML tag and event-handler content, and apply context-aware output encoding (for example PHP htmlspecialchars with ENT_QUOTES) wherever stored registration values are rendered back to administrators - encoding must be applied at the output sink, not only on input, otherwise double-encoding or bypasses via attribute contexts remain possible. Because the payload targets a privileged viewer, set session cookies with HttpOnly and SameSite attributes to blunt cookie theft from any successful injection, and consider a WAF rule blocking script/markup patterns in these POST fields as a stopgap, understanding that WAF bypasses are common and it is not a substitute for the code fix. Monitor the VulDB advisory pages (https://vuldb.com/vuln/416732 and https://vuldb.com/cve/CVE-2026-108919) for the eventual upstream fix, since the public exploit code noted in the advisory raises the likelihood of opportunistic scanning against exposed installations.

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) flaw in a PHP web application, SourceCodester Drug Recommendation System 1.0, built as a student/drug recommendation management sample project. The CPE record cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:* enumerates the product with an unbounded version wildcard, indicating no specific fixed build is distinguished. The affected element is the Student Registration handler Auth/add_student.php, where the parameters txtname, txtpassword, txtemail, txtphone and txtprevious_school are accepted from an HTTP request and subsequently embedded into HTML output without context-aware escaping, letting markup and script content survive into pages served to other users. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) confirms a network-reachable, low-complexity, unauthenticated injection path where the attacker does not need credentials, but the vulnerable code is not remotely exploitable for server-side code execution - there is no RCE component, and the security scope change with limited confidentiality and integrity impact (per our assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) reflects attacker-controlled script running in a victim's browser context rather than compromise of the host.

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 6.1 MEDIUM

Remotely injectable without auth (AV:N/PR:N); requires a victim to render output (UI:R); XSS crosses into the browser trust boundary (S:C) with low confidentiality and integrity impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/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

2
Severity Changed
Oct 12, 2026 - 19:22 NVD
MEDIUM LOW
CVSS changed
Oct 12, 2026 - 19:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A weakness has been identified in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Auth/add_student.php of the component Student Registration. This manipulation of the argument txtname/txtpassword/txtemail/txtphone/txtprevious_school causes cross site scripting. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Rare
SourceCodester hobby/educational PHP project, negligible production enterprise footprint
Data Quality
7 sources
Confidence: High

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 No
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
Defer
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
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-105705 LOW POC
2.1 Oct 06

Cross-site scripting (XSS) in SourceCodester Drug Recommendation System 1.0 allows remote attackers to inject malicious

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-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