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.
Published: 2026-07-21
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a stored cross‑site scripting flaw in FOGProject. Earlier releases of the system render option labels in the selectForm() helper with raw, unescaped input. An unauthenticated attacker who knows a host’s MAC address can submit a malicious sysproduct value to /service/inventory.php. This value is persisted in the database and, when an administrator opens the Inventory reports, the payload is injected into an <option> element, breaking out of the tag and executing arbitrary JavaScript in the admin’s browser. This can lead to theft of session cookies or other actions that compromise the integrity and confidentiality of the system.

Affected Systems

FOGProject fogproject is affected in all releases earlier than 1.5.10.1832 and 1.6.0-beta.2313. Those versions include the faulty selectForm() behavior that stores unescaped option labels.

Risk and Exploitability

The CVSS score of 7.3 indicates a high severity flaw, while an EPSS score of less than 1% and the absence from the CISA KEV catalog suggest the likelihood of exploitation is relatively low. The attack requires an unauthenticated attacker to know a host’s MAC address and POST a malicious sysproduct value to /service/inventory.php, where it is stored. When an administrator subsequently opens the Inventory reports, the payload is rendered and the script runs. The vector is a standard HTTP POST to an unauthenticated endpoint, with the effect limited to admin‑level browsers that view inventory reports.

Generated by OpenCVE AI on July 30, 2026 at 16:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update FOGProject to version 1.5.10.1832 or newer, or 1.6.0‑beta.2313 or newer, which corrects the unescaped option label rendering in selectForm() and restricts /service/inventory.php to authenticated users.
  • Implement input validation or output escaping for all user‑supplied option label values to prevent future stored XSS issues.
  • Search the inventory database for any stored sysproduct values containing script tags and sanitize or remove them.

Generated by OpenCVE AI on July 30, 2026 at 16:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Fogproject
Fogproject fogproject
Vendors & Products Fogproject
Fogproject fogproject

Wed, 22 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
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.
Title FOGProject has stored XSS via unescaped option label in selectForm() accessible from unauthenticated inventory endpoint
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'}


Subscriptions

Fogproject Fogproject
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-22T14:31:39.609Z

Reserved: 2026-05-19T21:18:20.403Z

Link: CVE-2026-47687

cve-icon Vulnrichment

Updated: 2026-07-22T14:31:24.524Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T16:30:05Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')