# CVE-2026-9413: SourceCodester Indian Invoicing System XSS and SQLi in category.php

Source: https://junglewise.ai/threats/cve-2026-9413-sourcecodester-indian-invoicing-system-xss-and-sqli-in-category  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-25. Updated: 2026-05-26  
License: CC BY 4.0 with a link back

CVE-2026-9413 · Severity: medium · CVSS 4.3 · Published 2026-05-25

SourceCodester Indian Invoicing System 1.0 is vulnerable to a security flaw that allows attackers to execute malicious scripts in a user's browser. This occurs because the application does not properly sanitize messages displayed on the category management page. An attacker could use this to steal session information or perform unauthorized actions on behalf of a legitimate user.

Technologies: [SourceCodester Indian Invoicing System](https://junglewise.ai/threats/technologies/indian-invoicing-system). Vendors: [SourceCodester](https://junglewise.ai/threats/vendors/sourcecodester).

## Quick answers

**Is CVE-2026-9413 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-9413 being exploited in the wild.

**How severe is CVE-2026-9413?** Medium severity, with a CVSS score of 4.3, published 25 May 2026.

**Which products and versions are affected?** SourceCodester Indian Invoicing System 1.0.

**Is there a fix for CVE-2026-9413?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-9413 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-9413?** Check whether you run SourceCodester Indian Invoicing System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A reflected cross-site scripting (XSS) vulnerability exists in SourceCodester Indian Invoicing System 1.0 within the /Invoicing/category.php file. The application fails to sanitize the 'msg' GET parameter before reflecting it into the HTML response, allowing for the execution of arbitrary JavaScript. Additionally, the same endpoint is reportedly vulnerable to SQL injection via search filter fields due to the lack of prepared statements. An unauthenticated remote attacker can exploit the XSS vulnerability by tricking a user into clicking a specially crafted link, potentially leading to session hijacking or unauthorized data modification. As of the advisory date, no official patch is available.

## Affected products

- SourceCodester Indian Invoicing System 1.0

## Timeline

- 2026-04-26: other: Vulnerability discovered and PoC created by researcher c4ttr4ck
- 2026-05-25: disclosed: Vulnerability published on NVD and VulDB

## References

- [https://gist.github.com/c4ttr4ck/cb6a07bc54600a14de2676d8b96c3026](https://gist.github.com/c4ttr4ck/cb6a07bc54600a14de2676d8b96c3026)
- [https://vuldb.com/submit/813609](https://vuldb.com/submit/813609)
- [https://vuldb.com/vuln/365394](https://vuldb.com/vuln/365394)
- [https://vuldb.com/vuln/365394/cti](https://vuldb.com/vuln/365394/cti)
- [https://www.sourcecodester.com/](https://www.sourcecodester.com/)

## Related threats

- [SourceCodester Indian Invoicing System stored XSS in add_order.php](https://junglewise.ai/threats/cve-2026-9414-sourcecodester-indian-invoicing-system-stored-xss-in-add-order-php)
- [SourceCodester Indian Invoicing System improper access control in backend endpoints](https://junglewise.ai/threats/cve-2026-9412-sourcecodester-indian-invoicing-system-improper-access-control-in)
- [SourceCodester Indian Invoicing System SQL injection in IGST_Invoice.php](https://junglewise.ai/threats/cve-2026-9411-sourcecodester-indian-invoicing-system-sql-injection-in-igst)
