{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47687 exists.","fix":"No fix has been published for CVE-2026-47687 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-47687 is a high-severity cross-site scripting vulnerability in fogproject, published on 21 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-47687 and fix it if it is affected.\n\nWhat it is: CVE-2026-47687 is a high-severity cross-site scripting vulnerability in fogproject, published on 21 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47687 exists.\n\nAffected product: fogproject. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-47687/ (Markdown: https://insights.sbomify.com/CVE-2026-47687/index.md)","id":"CVE-2026-47687","markdown":"https://insights.sbomify.com/CVE-2026-47687/index.md","name":"CVE-2026-47687","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"FOG imaging suite","requires_auth":"low_privilege","summary":"Unauthenticated attackers can inject JavaScript via inventory data, leading to arbitrary code execution in admin browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fogproject","vendor":"fogproject"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"FOGProject has stored XSS via unescaped option label in selectForm() accessible from unauthenticated inventory endpoint","id":"CVE-2026-47687","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Missing authorization in fogproject","id":"CVE-2026-47688"},"packages":[],"prev":{"headline":"vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE","id":"CVE-2026-47686"},"products":["fogproject"],"published":"2026-07-21","related":[{"cvss_score":9.9,"headline":"FOG's authentication bypass leads to full SQL DB dump","id":"CVE-2025-58443","kev_date_added":null,"published":"2025-09-06"},{"cvss_score":9.8,"headline":"FOG has a command injection in /fog/management/export.php?filename=","id":"CVE-2024-39914","kev_date_added":null,"published":"2024-07-12"},{"cvss_score":9.3,"headline":"FOG leaks sensitive information (AD domain, username and password)","id":"CVE-2024-42348","kev_date_added":null,"published":"2024-08-02"},{"cvss_score":8.8,"headline":"FOG Authenticated File Upload RCE","id":"CVE-2024-40645","kev_date_added":null,"published":"2024-07-31"},{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2021-32243","kev_date_added":null,"published":"2021-06-16"},{"cvss_score":8.6,"headline":"FOG SSRF via unauthenticated endpoint(s)","id":"CVE-2023-46236","kev_date_added":null,"published":"2023-10-31"},{"cvss_score":8.2,"headline":"Missing authorization in fogproject","id":"CVE-2026-47688","kev_date_added":null,"published":"2026-07-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-22","vendors":["FOGProject"]},"summary":"Unauthenticated attackers can inject JavaScript via inventory data, leading to arbitrary code execution in admin browsers.","url":"https://insights.sbomify.com/CVE-2026-47687/"}