CVE-2026-47689

FOGProject has stored XSS via unescaped inventory data in buildRow() rendered on Group Inventory tab

Published Jul 21, 2026 CVSS 3.1 · 4.6 Medium EPSS < 1% KEV · Not listed
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 `buildRow()` method in `fogpage.class.php` substitutes data values into HTML table cell templates using `str_replace()` without any HTML escaping. An unauthenticated attacker who knows any registered host's MAC address can POST malicious inventory values (e.g. `sysproduct`, `sysserial`) to `/service/inventory.php`, which stores them in the database. When an administrator opens the Group Inventory tab, the payload renders as executable HTML/JavaScript in the admin's browser. Versions 1.5.10.1832 and 1.6.0-beta.2313 fix the issue.

Analysis

AI-generated

Technical impact

FOG is a free open‑source cloning, imaging, and inventory management system. In versions prior to 1.5.10.1832 and 1.6.0‑beta.2313 the buildRow() function replaces inventory data into HTML table cells using str_replace without any HTML escaping. An unauthenticated attacker who knows a registered host’s MAC address can POST malicious inventory values, such as sysproduct or sysserial, to /service/inventory.php. These values are stored in the database and are later rendered when an administrator opens the Group Inventory tab. The stored payload is then interpreted as executable HTML or JavaScript in the admin’s browser, allowing arbitrary code execution within the browser context.

Affected Systems

All installations of FOGProject before version 1.5.10.1832 or 1.6.0‑beta.2313 are affected. The issue is fixed in those releases, so any older installation (including earlier 1.5.x and 1.6.x BETA builds) is at risk.

Risk and Exploitability

The CVSS score of 4.6 indicates a moderate impact. The EPSS score is below 1 %, suggesting that exploitation remains unlikely at this time. The vulnerability is not listed in the CISA KEV catalog. The attack vector requires knowledge of a host’s MAC address and the ability to POST inventory data to a publicly reachable endpoint, making the attack surface relatively narrow.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FOGProject to version 1.5.10.1832 or 1.6.0‑beta.2313 or later, where buildRow() properly escapes HTML content.
  • If an upgrade is not immediately possible, restrict access to /service/inventory.php to authenticated users only or block the POST method via firewall or web‑server configuration to prevent malicious inventory submissions.
  • If a patch cannot be applied and strict access controls cannot be enforced, manually escape inventory field values before rendering them in the Group Inventory tab until a fix is available.

Generated by OpenCVE AI on August 3, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Fogproject
Fogproject fogproject
Vendors & Products Fogproject
Fogproject fogproject
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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 `buildRow()` method in `fogpage.class.php` substitutes data values into HTML table cell templates using `str_replace()` without any HTML escaping. An unauthenticated attacker who knows any registered host's MAC address can POST malicious inventory values (e.g. `sysproduct`, `sysserial`) to `/service/inventory.php`, which stores them in the database. When an administrator opens the Group Inventory tab, the payload renders as executable HTML/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 inventory data in buildRow() rendered on Group Inventory tab
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 22, 2026, 6:25 PM
Reserved
May 19, 2026, 9:18 PM
Status
Analyzed
Published
Jul 21, 2026, 9:16 PM
Modified
Aug 7, 2026, 1:53 PM