CVE-2026-30559: SourceCodester Sales and Inventory System - Reflected XSS
- Cve: CVE-2026-30559
- Name: SourceCodester Sales and Inventory System - Reflected XSS
- Description: A Reflected Cross-Site Scripting (XSS) vulnerability exists in SourceCodester Sales and Inventory System 1.0. The vulnerability is located in the add_sales.php file via the "msg" parameter. The application fails to sanitize the input, allowing remote attackers to inject arbitrary web script or HTML via a crafted URL.
- Impact: Remote attackers can execute arbitrary scripts in users' browsers, potentially stealing session data or performing actions on behalf of users.
- Remediation: Update to the latest version with proper input sanitization.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00283
- Epss percentile: 0.20879
- Assignee: [email protected]
- Published at: 2026-03-30T16:16:05Z
- Age in days: 239
- Modified at: 2026-06-17T10:32:46Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-30559
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/XSS-AddSales-msg.md | nvd | 2026-03-30 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/XSS-AddSales-msg.md | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ahsanriaz26gmailcom:sales_and_inventory_system | = 1.0 | no | nvd | /v1/products/ahsanriaz26gmailcom/sales_and_inventory_system |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-30
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts