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

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-21T20:39:01.101Z
- Modified: 2026-08-07T13:51:46.360Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- FOGProject fogproject: < 1.5.10.1832; < 1.6.0-beta.2313; before 1.5.10.1832

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/FOGProject/fogproject/security/advisories/GHSA-hg23-3w27-2rf2> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-47687](https://www.cve.org/CVERecord?id=CVE-2026-47687), CVE Terms of Use, modified 2026-07-22
- NVD: [CVE-2026-47687](https://nvd.nist.gov/vuln/detail/CVE-2026-47687), Public domain, modified 2026-08-07

---

Page: https://cve.day/CVE-2026-47687 · Whole record: https://cve.day/CVE-2026-47687.json · Rebuilt by cve.day 2026-11-25T22:59:29.407Z
