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

Medium 5.1 Published Updated

An attacker with model management permissions can inject JavaScript into display templates, leading to script execution in other users' browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-23695?

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.

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

Weakness: CWE-79

Which versions are affected by CVE-2026-23695?

2 open source packages ship an affected version, including cockpit-hq/cockpit.

PackageAffectedFixed in
cockpit-hq/cockpit PackagistAll versions to 2.14.0None
cockpit-hq/cockpit PackagistAll versions to 2.14.0None

How do I fix CVE-2026-23695?

No fix has been published for CVE-2026-23695 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-23695 being exploited?

There is no known exploitation of CVE-2026-23695 in the wild and no public exploit code.

Sources

Also known as GHSA-ch4j-vcf5-58x5.

Is CVE-2026-23695 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free