CVE-2026-47687: FOG Project Stored XSS in selectForm inventory reports

CVE-2026-47687 · Severity: high · CVSS 7.3 · Published 2026-07-21

FOG is an open-source tool used for managing computer imaging and inventory across networks. A security flaw allows an attacker to inject malicious code into the system's inventory database. When an administrator later views inventory reports, this code executes in their browser, potentially allowing the attacker to hijack the administrator's session or perform unauthorized actions on the network management server.

Technologies: FOG Project. Vendors: FOG Project.

Quick answers

Is CVE-2026-47687 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-47687 being exploited in the wild.
How severe is CVE-2026-47687?
High severity, with a CVSS score of 7.3, published 21 July 2026.
Which products and versions are affected?
FOG Project < 1.5.10.1832, < 1.6.0-beta.2313.
Is there a fix for CVE-2026-47687?
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-47687 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-47687?
Check whether you run FOG Project 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 stored cross-site scripting (XSS) vulnerability exists in FOG Project due to improper output encoding in the `selectForm()` helper within `fogpage.class.php`. The `selectForm()` method fails to escape labels for `<option>` elements, rendering raw user input from the database. An attacker who knows a registered host's MAC address can send a malicious `sysproduct` value via an unauthenticated POST request to `/service/inventory.php`. This payload is stored in the inventory database and executes arbitrary JavaScript in the context of an administrator's browser when they access the 'Reports > Inventory' page. The vulnerability is further facilitated by a Content Security Policy (CSP) that allows 'unsafe-inline' scripts. The issue is resolved in versions 1.5.10.1832 and 1.6.0-beta.2313 by applying proper escaping to the affected labels.

Affected products

  • FOGProject fogproject < 1.5.10.1832, < 1.6.0-beta.2313

Timeline

  • 2026-05-19: advisory: Initial GHSA 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.