CVE-2026-47687
7.3high
FOGProject has stored XSS via unescaped option label in selectForm() accessible from unauthenticated inventory endpoint
- Severity
- 7.3high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FOGProject fogproject | < 1.5.10.1832, < 1.6.0-beta.2313, before 1.5.10.1832 | CVE List, NVD |
All scores
| GitHub_M | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 8.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
| https://github.com/FOGProject/fogproject/security/advisories/GHSA-hg23-3w27-2rf2 | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-47687 changed 2026-07-22 | CVE Terms of Use |
| NVD | CVE-2026-47687 changed 2026-08-07 | Public domain |