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

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Thu, 23 Jul 2026 01:15:00 +0000

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

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

Type Values Removed Values Added
Metrics ssvc

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


Tue, 21 Jul 2026 21:15: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 `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'}


Subscriptions

Fogproject Fogproject
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-22T18:25:04.533Z

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

Link: CVE-2026-47689

cve-icon Vulnrichment

Updated: 2026-07-22T18:20:12.541Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T00:30:16Z

Weaknesses
  • CWE-79

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