Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to admin panel (PR:L)
-
DeliveryLure admin to submit crafted change_password form (UI:P)
-
ExploitInject payload via txtoldpassword/txtnewpassword
-
ExecutionReflected script executes in admin browser
-
ImpactLimited session/DOM manipulation (VI:L)
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 | Requires an authenticated session to the SourceCodester Drug Recommendation System 1.0 admin panel (endpoint /drug_recommender/Admin/change_password) and active user interaction - the victim must submit the Password Change form carrying the payload (UI:P). Because the injected txtoldpassword/txtnewpassword fields are values the acting user enters into their own form, exploitation is effectively self-directed (self-XSS) with no demonstrated path to attack a different user; impact is limited to the authenticated user's own browser context. No confidentiality or availability impact. |
| Impact | This is a high-CVSS-optics-free but genuinely low-real-risk issue, and even the vendor's CVSS 4.0 base score of 2.0 correctly reflects that. The vector CVSS:4.0/AV:N/AC:L/PR:L/UI:P/VC:N/VI:L/VA:N confirms the flaw requires an authenticated user (PR:L) plus active user interaction (UI:P) and yields only limited integrity impact (VI:L) with no confidentiality or availability effect. Critically, the affected endpoint is /drug_recommender/Admin/change_password - an authenticated admin's own Password Change form - and the injected parameters (txtoldpassword/txtnewpassword) are values the same user types into their own form, making this effectively self-XSS with no cross-user attack path evident in the data. Exploitation status: publicly available exploit code exists (POC on GitHub, VulDB-referenced), but there is no EPSS score provided, no CISA KEV listing, and no evidence of active exploitation - POC availability must not be conflated with real-world exploitation. Net: not a patching priority; the combination of authentication requirement, required user interaction, self-directed injection surface, and integrity-only impact keeps genuine risk minimal. |
| Exploit ScenarioDerived | An authenticated admin is lured (via a crafted link or form auto-submission) into submitting the change_password form with a malicious payload in the txtoldpassword or txtnewpassword field, which is reflected unsanitized and executes JavaScript in the admin's browser session. A public POC exists (GitHub KaranParelkar), but because the injection point is the user's own password-change form, realistic cross-victim exploitation is limited and largely reduces to self-XSS. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 20, 2026
Self-cross-site scripting (XSS) in SourceCodester Drug Recommendation System 1.0 allows an authenticated admin to inject arbitrary script via the txtoldpassword and txtnewpassword parameters in the Password Change form, but the impact is limited to the user's own browser session (self-XSS) with no path to attack other users. The vulnerability requires user interaction to submit the crafted form and has a CVSS 4.0 base score of 2.0 (Low). Publicly available exploit code exists, though no confirmed active exploitation (not in CISA KEV).
RemediationAI
No vendor-released patch has been identified at time of analysis. Because this is a self-XSS vulnerability, the practical risk is low; however, administrators should avoid entering untrusted content into the Password Change form. A robust fix would require the vendor to implement output encoding and input validation on the txtoldpassword and txtnewpassword fields. As a compensating control, deploy a Content Security Policy (CSP) that blocks inline script execution, which can prevent XSS payloads from running. Additionally, restrict access to the admin panel to trusted users and consider disabling the password change feature if not needed, though this may impact usability. Monitor the vendor's website (https://www.sourcecodester.com/) for updates. The public PoC is available at the GitHub reference.
Affected VersionsENISA
Affected Packages
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 CWE-79 (Improper Neutralization of Input During Web Page Generation) issue in the PHP-based SourceCodester Drug Recommendation System 1.0. The affected endpoint /drug_recommender/Admin/change_password processes the txtoldpassword and txtnewpassword parameters without proper sanitization, allowing an authenticated attacker to inject malicious JavaScript that executes in the context of the victim's browser. Because the payload is entered by the same user who is changing their password, this is effectively a self-XSS, meaning an attacker cannot directly target another user; the user must be tricked into pasting the payload into the form. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P) confirms network reachability, low attack complexity, authenticated privileges required, passive user interaction, and low integrity impact only. No CPE data is provided, but the product is a web application.
Know when PHP 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
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
Authenticated admin-panel form (PR:L) requiring victim form submission (UI:R); integrity-only reflected/self-XSS with no confidentiality or availability impact.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was found in SourceCodester Drug Recommendation System 1.0. This issue affects some unknown processing of the file /drug_recommender/Admin/change_password of the component Password Change. Performing a manipulation of the argument txtoldpassword/txtnewpassword results in cross site scripting. The attack can be initiated remotely. The exploit has been made public and could be used.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-83750
GHSA-f43f-mqc9-9693
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB