CVE-2026-47689: FOG Project stored XSS in Group Inventory via buildRow

CVE-2026-47689 · Severity: medium · CVSS 4.6 · Published 2026-07-21

FOG is an open-source tool used by IT departments to manage computer inventories and deploy operating system images across a network. A security flaw allows an unauthorized person on the local network to inject malicious code into the system's inventory records by spoofing a known device's hardware (MAC) address. If an IT administrator later views the inventory for a group of computers, this malicious code will execute in their browser, potentially allowing the attacker to hijack the administrator's session or perform unauthorized management tasks.

Quick answers

Is CVE-2026-47689 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-47689 being exploited in the wild.
How severe is CVE-2026-47689?
Medium severity, with a CVSS score of 4.6, published 21 July 2026.
Which products and versions are affected?
FOGProject FOG Project < 1.5.10.1832, < 1.6.0-beta.2313.
Is there a fix for CVE-2026-47689?
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-47689 attacked?
It is attacked from the adjacent network, in a network appliance.
Am I affected by CVE-2026-47689?
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

A stored cross-site scripting (XSS) vulnerability exists in FOG Project due to insufficient output encoding in the `buildRow()` method within `fogpage.class.php`. The application uses `str_replace()` to substitute inventory data into HTML templates without applying `htmlspecialchars()` or similar escaping. An unauthenticated attacker who knows a registered host's MAC address can send a POST request to `/service/inventory.php` containing malicious payloads in fields like `sysproduct` or `sysserial`. These values are stored in the database and subsequently rendered as executable HTML/JavaScript when an administrator accesses the Group Inventory tab. The vulnerability is exacerbated by a Content Security Policy (CSP) that permits 'unsafe-inline' scripts. The issue is resolved in versions 1.5.10.1832 and 1.6.0-beta.2313.

Affected products

  • FOGProject FOG Project < 1.5.10.1832, < 1.6.0-beta.2313

Timeline

  • 2026-05-19: advisory: GitHub Security Advisory published
  • 2026-07-21: disclosed: CVE published to NVD

References

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