---
id: CVE-2026-47687
title: >-
  FOG is a free open-source cloning/imaging/rescue suite/inventory management
  system
summary: >-
  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 i…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-79
vendor: fogproject
product: fogproject
affected:
  - fogproject < 1.5.10.1832
patched:
  - fogproject 1.5.10.1832
published: '2026-07-21'
updated: '2026-08-07'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47687'
references:
  - url: >-
      https://github.com/FOGProject/fogproject/security/advisories/GHSA-hg23-3w27-2rf2
    label: security-advisories@github.com
  - url: >-
      https://github.com/FOGProject/fogproject/security/advisories/GHSA-hg23-3w27-2rf2
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00406
epssPercentile: 0.32113
ingestedAt: '2026-08-07T22:17:38.476Z'
---

## Overview

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

- `fogproject < 1.5.10.1832`

## Remediation

Upgrade past the affected range:

- `fogproject 1.5.10.1832`
