CVE-2026-13570: XSS in SourceCodester Inventory Management System 1.0
SourceCodester Inventory Management System version 1.0 contains a cross-site scripting (XSS) vulnerability in its user registration endpoint. An authenticated attacker can inject malicious code through the full_name parameter in the /api/users_handler.php file, which gets reflected in the application without proper sanitization. This allows the attacker to execute JavaScript in the browsers of other users who view the affected data, potentially stealing session tokens or performing actions on their behalf.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 3.5 LOW · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- Weaknesses (CWE)
- CWE-79, CWE-94
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-29 / 2026-06-29
NVD description (verbatim)
A vulnerability was detected in SourceCodester Inventory Management System 1.0. Impacted is an unknown function of the file /api/users_handler.php of the component User Registration Endpoint. Performing a manipulation of the argument full_name results in cross site scripting. The attack is possible to be carried out remotely. The exploit is now public and may be used.
5 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in the User Registration Endpoint's handling of the full_name parameter within /api/users_handler.php. The application fails to properly validate and encode user-supplied input before reflecting it back to users, creating a stored or reflected XSS condition. The flaw is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-94, indicating issues in input validation and potentially dynamic code execution contexts. Exploitation requires an authenticated session (PR:L), user interaction (UI:R), and network access, but no elevated privileges.
Business impact
While the CVSS score of 3.5 reflects low severity, the real-world impact depends on your deployment context. If your organization uses SourceCodester Inventory Management System 1.0 for internal inventory tracking or customer-facing features, XSS vulnerabilities can undermine trust, facilitate credential theft, enable unauthorized data modification, and create compliance liability under standards like PCI-DSS or HIPAA if sensitive data is displayed. The requirement for user interaction and authentication limits blast radius but does not eliminate risk—particularly if your user base includes those with access to sensitive records.
Affected systems
SourceCodester Inventory Management System version 1.0 is the confirmed affected product. Any deployment of this version with publicly accessible or internal user registration functionality is in scope. The vulnerability affects the /api/users_handler.php endpoint specifically, though related user-input handling in the same codebase should be reviewed for similar flaws.
Exploitability
The exploit is publicly disclosed and may be in active use. Exploitation requires an authenticated user account and relies on social engineering or tricking another user into viewing a crafted payload. The relatively low barrier to exploitation—combined with public disclosure—means opportunistic actors may attempt this attack, particularly against internet-facing instances. However, the need for user interaction and prior authentication limits the attack surface compared to unauthenticated remote code execution vulnerabilities.
Remediation
Apply a security patch from SourceCodester that sanitizes and encodes the full_name parameter before output. Verify the patch version against the vendor's security advisory. As an interim mitigation, implement input validation rules that strip or reject special HTML characters in the full_name field, and apply output encoding (HTML entity encoding) to all user-supplied data displayed in the web application. Consider deploying a Web Application Firewall (WAF) rule to detect and block suspicious full_name payloads matching XSS patterns.
Patch guidance
Check SourceCodester's official security advisory for the patched version number and installation steps. Patches for XSS vulnerabilities in user registration endpoints are typically applied as part of minor version updates. Verify the patch resolves the /api/users_handler.php full_name parameter specifically before deployment. Test the patch in a staging environment to confirm it does not break user registration workflows. Once verified, deploy to production on your standard change management schedule.
Detection guidance
Review web server and application logs for POST requests to /api/users_handler.php with full_name parameters containing HTML tags, JavaScript event handlers, or encoded XSS payloads (e.g., %3Cscript%3E, onerror=, onclick=). Use your WAF or intrusion detection system to flag requests matching common XSS signatures. Check your user database for existing records with suspicious full_name values that may indicate past exploitation. If using SourceCodester's own logging, extract and analyze all user registration events for the presence of script tags or encoded payloads.
Why prioritize this
This vulnerability merits patching promptly despite its low CVSS score because: (1) the exploit is public and may be actively weaponized, (2) it affects a core user-facing endpoint, (3) XSS vulnerabilities often serve as stepping stones to session hijacking or privilege escalation, and (4) regulatory or compliance frameworks may require remediation of known public vulnerabilities. Prioritize systems that are internet-facing or handle sensitive data over internal-only deployments.
Risk score, explained
The CVSS 3.1 score of 3.5 (LOW) reflects several mitigating factors: authenticated access is required (PR:L), user interaction is necessary (UI:R), and the scope is unchanged—meaning the impact is limited to the application itself, not the underlying system. However, the low score should not be mistaken for insignificance; it reflects *difficulty of exploitation* rather than *business impact*. In security-critical deployments (healthcare, finance, e-commerce), XSS can have outsized consequences. The public exploit availability and prevalence of legacy systems in production environments raise practical risk relative to the scored severity.
Frequently asked questions
Do we need an unpatched SourceCodester Inventory Management System 1.0 to be at risk?
Yes. Versions prior to 1.0 are not mentioned as affected in the published advisory. If you are running version 1.0, you are in scope. Verify your current version in the application settings or configuration files.
Can this vulnerability be exploited by an unauthenticated attacker?
No. The CVSS vector indicates PR:L (low privilege required), meaning the attacker must have a valid user account. However, if your system allows public registration or has many authorized users, the practical barrier remains low.
What should we do if we cannot patch immediately?
Implement compensating controls: (1) restrict network access to /api/users_handler.php to trusted IP ranges if possible, (2) enable strict input validation to reject full_name values containing HTML or JavaScript, (3) apply output encoding to all user-supplied data in the application, and (4) monitor logs for exploitation attempts. Schedule patching as soon as vendor updates are available.
Is this vulnerability being exploited in the wild?
The advisory indicates the exploit is public and may be used. Monitor your logs for suspicious full_name payloads and check for unexpected changes to user records. If you discover evidence of exploitation, isolate affected accounts and reset their credentials.
This analysis is based on the CVE record and vendor advisories published as of the advisory date. Security researchers and defenders should verify patch availability and applicability to their specific deployments directly with SourceCodester. No warranty is made regarding the completeness or accuracy of third-party vulnerability data. This analysis does not constitute legal advice or a guarantee of vulnerability remediation. Organizations should perform their own risk assessment based on their environment, threat model, and regulatory obligations. Source: NVD (public-domain), retrieved 2026-08-08. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-10112LOWXSS in STUDENT-MANAGEMENT-SYSTEM 1.0 Dashboard
- CVE-2026-10228LOWXSS Vulnerability in raisulislamg4 Student Management System
- CVE-2026-10234LOWMettle Sendportal XSS Vulnerability – Campaign Handler Remote Exploit
- CVE-2026-10244LOWSourceCodester Pharmacy Sales and Inventory System XSS Vulnerability
- CVE-2026-10245LOWStored XSS in SourceCodester Pharmacy Sales and Inventory System 1.0
- CVE-2026-10246LOWStored XSS in SourceCodester Pharmacy System 1.0 – Remediation Guide
- CVE-2026-10247LOWXSS in SourceCodester Pharmacy Sales System 1.0
- CVE-2026-10514LOWCordysCRM Cross-Site Scripting (XSS) Vulnerability – Patch to 1.7.0