CVE-2026-105705 Details
Description
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.
A cross-site scripting (XSS) vulnerability has been identified in SourceCodester Drug Recommendation System version 1.0. The issue resides in the Admin/add_drug.php file, where user input is not properly sanitized before being displayed. This flaw allows remote attackers to inject malicious scripts that are executed in the context of the user's browser. The vulnerability has both reflected and stored XSS variants, with the stored variant posing a higher risk.
Sanitize all output by using 'htmlspecialchars' to encode user-controlled data before rendering it in HTML. Implement server-side validation for user input and consider setting a Content Security Policy to mitigate XSS risks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 6, 2026CISA-ADP
Assessed Oct 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hackliu/Vulnerability-Reports/blob/master/Drug-Recommender-Web-App/VULN-05-XSS-Reflected-Stored.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-105705 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/992054 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/413698 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/413698/cti | [email protected] | AdvisoryContent Wall |
| https://www.sourcecodester.com/ | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SourceCodester Drug Recommendation System | 1.0 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Modified | CISA-ADP |
| Oct 6, 2026 | New CVE Received | [email protected] |
Volerion