CVE-2026-30567: A Reflected Cross-Site Scripting (XSS) vulnerability exists in SourceCodester Sales and Inventory System 1....
A Reflected Cross-Site Scripting (XSS) vulnerability exists in SourceCodester Sales and Inventory System 1.0 in the view_product.php file via the "limit" parameter. The application fails to sanitize the input, allowing remote attackers to inject arbitrary web script or HTML via a crafted URL.
Security readout for executives and security teams
Plain-English summary
A flaw in SourceCodester Sales and Inventory System 1.0 lets an attacker craft a malicious link that, when clicked by a logged-in user, runs scripts in their browser. This can hijack sessions, steal data shown in the app, or trick staff into harmful actions. Risk depends on whether your business uses this open-source PHP application.
Executive priority
Moderate priority. Patch or isolate quickly only if your organization runs this application; otherwise informational. Treat as a reminder to inventory unsupported open-source web tools that handle business data.
Technical view
Reflected XSS in view_product.php via the unsanitized "limit" query parameter allows arbitrary HTML/JavaScript injection (CWE-79). CVSS 3.1 6.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) reflects network reach with required user interaction and scope change. Affects SourceCodester Sales and Inventory System 1.0. A public proof-of-concept is referenced in the CVE record.
Likely exposure
Limited to organizations running SourceCodester Sales and Inventory System 1.0, a free PHP/MySQL application typically deployed on small business or lab web servers. Internet-exposed instances accessible to authenticated users or shared session contexts increase risk; intranet-only deployments lower it.
Exploitation context
No KEV listing and no confirmed in-the-wild exploitation reported. A public proof-of-concept write-up exists on GitHub (meifukun/Web-Security-PoCs), lowering the skill bar. Successful exploitation requires a target to click a crafted URL, so phishing or social engineering would typically be paired with the attack.
Researcher notes
Reflected XSS via GET parameter "limit" in view_product.php; CWE-79 with scope-changed CVSS 6.1 suggests potential to reach a different security authority (e.g., parent frame or session context). PoC documented publicly. CVE record lists no vendor advisory or fix; SourceCodester applications are often abandoned, so expect to mitigate at the deployment layer rather than via an official patch.
Mitigation direction
Inventory any SourceCodester Sales and Inventory System 1.0 deployments and restrict external access.
Check the vendor or maintainer page for an updated release or community patch before deploying fixes.
Place the application behind a WAF with rules blocking reflected XSS payloads on the limit parameter.
Apply server-side input validation and output encoding for all query parameters in view_product.php.
Enforce a strict Content-Security-Policy and HttpOnly, SameSite session cookies to reduce impact.
Educate staff to avoid clicking unsolicited links pointing to internal admin URLs.
Validation and detection
Confirm whether SourceCodester Sales and Inventory System 1.0 is in use across your environments.
Review web server and WAF logs for unusual query strings containing script tags on view_product.php.
Test the limit parameter for reflection of benign markers in a controlled non-production environment.
Verify any deployed Content-Security-Policy effectively blocks inline script execution.
Re-test after applying input sanitization or vendor guidance to confirm reflection is no longer possible.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.