{
  "id": "CVE-2026-47687",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-47687",
  "published_at": "2026-07-21T20:39:01.101Z",
  "title": "FOGProject has stored XSS via unescaped option label in selectForm() accessible from unauthenticated inventory endpoint",
  "vendor": "FOGProject",
  "product": "fogproject",
  "cvss": {
    "score": 8.7,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 `\u003coption\u003e` 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 \u003e Inventory, the payload breaks out of the `\u003coption\u003e` element and executes arbitrary JavaScript in the admin's browser. Versions 1.5.10.1832 and 1.6.0-beta.2313 fix the issue.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:fogproject:fogproject:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.3,
    "nvd": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FOGProject",
        "product": "fogproject",
        "ranges": [
          "\u003c 1.5.10.1832",
          "\u003c 1.6.0-beta.2313"
        ],
        "fixed_in": [
          "1.5.10.1832",
          "1.6.0-beta.2313"
        ]
      }
    ],
    "upgrade": [
      "Upgrade fogproject to 1.5.10.1832 or 1.6.0-beta.2313 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/FOGProject/fogproject/security/advisories/GHSA-hg23-3w27-2rf2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
