Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-30560: n/a

0
Unknown
VulnerabilityCVE-2026-30560cvecve-2026-30560
Published: Mon Mar 30 2026 (03/30/2026, 00:00:00 UTC)
Source: CVE Database V5

Description

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/30/2026, 16:09:44 UTC

Technical Analysis

CVE-2026-30560 identifies a reflected Cross-Site Scripting (XSS) vulnerability in SourceCodester Sales and Inventory System 1.0, located in the add_supplier.php script via the 'msg' parameter. Reflected XSS occurs when user-supplied input is immediately returned in the HTTP response without proper sanitization or encoding, enabling attackers to inject malicious JavaScript or HTML code. In this case, the 'msg' parameter is not sanitized, allowing an attacker to craft a URL containing malicious scripts. When a victim clicks this URL, the injected script executes in the victim's browser context, potentially stealing session cookies, redirecting users to phishing sites, or performing actions on behalf of the user. The vulnerability does not require authentication, increasing its risk profile, and does not depend on user interaction beyond clicking a malicious link. Although no exploits are currently known in the wild, the vulnerability is publicly disclosed and could be targeted by attackers. The lack of a CVSS score suggests the need for manual severity assessment. The vulnerability affects all installations of SourceCodester Sales and Inventory System 1.0 that have not implemented custom input validation or patches. The absence of official patches or mitigation guidance in the provided data indicates that organizations must proactively implement input validation and output encoding to prevent exploitation.

Potential Impact

The primary impact of this reflected XSS vulnerability is on confidentiality and integrity. Attackers can execute arbitrary scripts in the context of the vulnerable web application, potentially stealing session tokens, user credentials, or other sensitive information. This can lead to account compromise, unauthorized actions, or phishing attacks targeting users of the system. For organizations, this can result in data breaches, loss of customer trust, reputational damage, and compliance violations. Although availability is less directly impacted, persistent exploitation could lead to defacement or disruption of normal business operations. Since the vulnerability requires no authentication and can be exploited remotely via crafted URLs, the attack surface is broad. Organizations using this inventory system in sectors such as retail, manufacturing, or supply chain management could face operational risks and financial losses if exploited.

Mitigation Recommendations

To mitigate CVE-2026-30560, organizations should implement strict input validation and output encoding on the 'msg' parameter in add_supplier.php to neutralize malicious scripts. Employing context-aware encoding (e.g., HTML entity encoding) before reflecting user input in responses is critical. Web Application Firewalls (WAFs) can provide temporary protection by filtering malicious payloads targeting this parameter. Developers should review the entire application for similar unsanitized inputs and apply secure coding practices. If available, applying official patches or updates from the vendor is recommended. Additionally, educating users to avoid clicking suspicious links and implementing Content Security Policy (CSP) headers can reduce the impact of XSS attacks. Regular security assessments and penetration testing should be conducted to detect and remediate similar vulnerabilities proactively.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-03-04T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69ca9c6fe6bfc5ba1d4725a7

Added to database: 3/30/2026, 3:53:19 PM

Last enriched: 3/30/2026, 4:09:44 PM

Last updated: 3/31/2026, 5:01:06 AM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses