{"answers":{"affected":"2 open source packages ship an affected version, including cockpit-hq/cockpit.","exploited":"There is no known exploitation of CVE-2026-23695 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-23695 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-23695 is a medium-severity cross-site scripting vulnerability in Cockpit-HQ Cockpit, published on 15 May 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-23695 and fix it if it is affected.\n\nWhat it is: CVE-2026-23695 is a medium-severity cross-site scripting vulnerability in Cockpit-HQ Cockpit, published on 15 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-23695 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cockpit-hq/cockpit (Packagist): affected all versions up to 2.14.0; no fix listed\n- cockpit-hq/cockpit (Packagist): affected all versions up to 2.14.0; no fix listed\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-23695/ (Markdown: https://insights.sbomify.com/CVE-2026-23695/index.md)","id":"CVE-2026-23695","markdown":"https://insights.sbomify.com/CVE-2026-23695/index.md","name":"CVE-2026-23695","record":{"aliases":["GHSA-ch4j-vcf5-58x5"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Cockpit CMS","requires_auth":"low_privilege","summary":"An attacker with model management permissions can inject JavaScript into display templates, leading to script execution in other users' browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cockpit CMS through version 2.14.0, patched in commit 72a83fc, contains a stored cross-site scripting vulnerability in the Set field type's Display template option, where the template string is processed by the $interpolate function using new Function() and rendered via Vue's v-html directive without sanitization. An attacker with content/:models/manage permission can inject arbitrary JavaScript into the Display template, which executes in the browser of any user viewing the collection items list.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Cockpit CMS 2.14.0 Stored XSS via Set Field Display Template","id":"CVE-2026-23695","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Windmill \u003c 1.603.3 File Ownership Handling SQLi RCE","id":"CVE-2026-23696"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["2.14.0"],"package":"cockpit-hq/cockpit","purl":null,"source":"GHSA-ch4j-vcf5-58x5"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["2.14.0"],"package":"cockpit-hq/cockpit","purl":"pkg:composer/cockpit-hq/cockpit","source":"GHSA-ch4j-vcf5-58x5"}],"prev":{"headline":"Aruba HiSpeed Cache \u003c 3.0.5 CSRF in Multiple Administrative AJAX Actions","id":"CVE-2026-23694"},"products":["Cockpit"],"published":"2026-05-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["Cockpit-HQ"]},"summary":"An attacker with model management permissions can inject JavaScript into display templates, leading to script execution in other users' browsers.","url":"https://insights.sbomify.com/CVE-2026-23695/"}