Description
A Reflected Cross-Site Scripting (XSS) vulnerability exists in SourceCodester Sales and Inventory System 1.0. The vulnerability is located in the view_customers.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.
Published: 2026-03-30
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: Cross‑Site Scripting allowing arbitrary script execution on victim browsers
Action: Patch Immediately
AI Analysis

Impact

A reflected Cross‑Site Scripting flaw in the view_customers.php component of SourceCodester Sales and Inventory System 1.0 allows a remote attacker to inject malicious JavaScript or HTML through the "limit" query parameter. When a victim visits a crafted URL, the injected payload executes in the victim's browser context, enabling session hijacking, credential theft, defacement, or other malicious actions. The flaw is listed as CWE‑79, indicating unsanitized input leading to XSS.

Affected Systems

SourceCodester Sales and Inventory System version 1.0 is affected; the vulnerability is located in the view_customers.php file that processes the "limit" parameter. Any deployment running this specific 1.0 release and exposing the parameter is at risk; no other versions are listed as affected.

Risk and Exploitability

The CVSS score of 6.1 highlights moderate severity, and although EPSS data is unavailable, the simple attack vector of a crafted URL suggests a high likelihood of exploitation if users are lured to the malicious link. The vulnerability is not listed in CISA’s KEV catalog, implying no publicly known exploits yet, but the lack of input validation makes exploitation plausible and potentially damaging to confidentiality, integrity, and availability of user sessions.

Generated by OpenCVE AI on March 30, 2026 at 18:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any available vendor patch for SourceCodester Sales and Inventory System 1.0
  • Implement server‑side input validation and output encoding for the "limit" parameter in view_customers.php
  • Configure a web application firewall to detect and block malicious XSS payloads
  • Educate users about the dangers of clicking suspicious URLs and conduct regular phishing awareness training
  • Monitor web traffic for anomalous query parameters and log suspicious attempts

Generated by OpenCVE AI on March 30, 2026 at 18:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 31 Mar 2026 03:00:00 +0000

Type Values Removed Values Added
Title Reflected XSS in view_customers.php via 'limit' Parameter

Mon, 30 Mar 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 30 Mar 2026 15:15:00 +0000

Type Values Removed Values Added
Description A Reflected Cross-Site Scripting (XSS) vulnerability exists in SourceCodester Sales and Inventory System 1.0. The vulnerability is located in the view_customers.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.
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-03-30T15:31:22.779Z

Reserved: 2026-03-04T00:00:00.000Z

Link: CVE-2026-30566

cve-icon Vulnrichment

Updated: 2026-03-30T15:31:16.742Z

cve-icon NVD

Status : Received

Published: 2026-03-30T15:16:26.843

Modified: 2026-03-30T16:16:06.430

Link: CVE-2026-30566

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-30T20:56:31Z

Weaknesses