CVE-2026-47687
Received Received - Intake

Stored XSS in FOG Project Inventory Reports

Vulnerability report for CVE-2026-47687, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-21

Last updated on: 2026-07-21

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-21
Last Modified
2026-07-21
Generated
2026-07-22
AI Q&A
2026-07-22
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a stored cross-site scripting (XSS) flaw in FOG, an open-source imaging system. It occurs because user input is rendered without proper escaping in HTML option labels. An attacker can exploit this by sending a malicious POST request with a crafted sysproduct value to the inventory endpoint. When an admin views the inventory report, the payload executes JavaScript in their browser.

Detection Guidance

Check FOG versions below 1.5.10.1832 or 1.6.0-beta.2313 for the vulnerable `fogpage.class.php` file. Look for unauthorized POST requests to `/service/inventory.php` with a `sysproduct` parameter containing JavaScript payloads. Inspect browser console logs for unexpected script execution when accessing Reports > Inventory.

Impact Analysis

If you are an administrator using FOG, this vulnerability allows an attacker to execute arbitrary JavaScript in your browser when viewing the inventory report. This could lead to session hijacking, data theft, or further compromise of your FOG server or network. Unauthenticated attackers only need knowledge of a registered host's MAC address to exploit it.

Compliance Impact

This vulnerability could violate GDPR or HIPAA by enabling unauthorized access to sensitive data through XSS attacks. GDPR requires protection against data breaches, while HIPAA mandates safeguards for protected health information. Exploitation could lead to unauthorized data exposure, resulting in compliance violations and potential fines.

Mitigation Strategies

Upgrade FOG to versions 1.5.10.1832 or 1.6.0-beta.2313 or later. Review server logs for suspicious POST requests to `/service/inventory.php`. Remove any unauthorized `sysproduct` values from the database. Implement input validation for all user-supplied data in the FOG application.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-47687. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart