CVE-2026-87926: Rizwan17 inventory-management-system reflected XSS in login page

CVE-2026-87926 · Severity: medium · CVSS 4.3 · Published 2026-09-10

The Rizwan17 inventory-management-system is an open-source inventory application that includes a login page. An attacker can inject malicious JavaScript code into the login page via the msg URL parameter, allowing them to steal credentials, session cookies, or trick users into performing unauthorized actions. The vulnerability requires a victim to click a specially crafted link, but no authentication is needed to exploit it.

Quick answers

Is CVE-2026-87926 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-87926 being exploited in the wild.
How severe is CVE-2026-87926?
Medium severity, with a CVSS score of 4.3, published 10 September 2026.
Which products and versions are affected?
Rizwan17 inventory-management-system up to commit bfe78a330d01bb26b9daec5dc9ecd5c77900e03f.
Is there a fix for CVE-2026-87926?
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-87926 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-87926?
Check whether anything you run is named in the advisory. 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

This is a reflected cross-site scripting (XSS) vulnerability in index.php where the msg query parameter is echoed directly into an HTML alert div without output encoding (htmlspecialchars/htmlentities). An unauthenticated attacker can craft a malicious URL containing JavaScript payload in the msg parameter, and when a user visits that URL, the script executes in the browser with the application's origin context. The vulnerable code prints $_GET["msg"] directly into the HTML without sanitization. User interaction (clicking the link) is required, but no authentication is needed. The attack impacts confidentiality and integrity by enabling credential theft, session hijacking, or UI forgery on the login page.

Affected products

  • Rizwan17 inventory-management-system up to commit bfe78a330d01bb26b9daec5dc9ecd5c77900e03f

Timeline

  • 2026-07-30: disclosed: Vulnerability reported as GitHub issue #11
  • 2026-09-10: advisory: CVE-2026-87926 published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.