CVE-2026-23695

Cockpit CMS 2.14.0 Stored XSS via Set Field Display Template

Published May 15, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Cockpit CMS up to and including version 2.14.0 stores an unescaped value supplied to a Set field type’s Display template option. The template string is processed by a JavaScript interpolate function that compiles the content with new Function() and then is rendered via Vue’s v‑html directive without sanitization. An attacker with the content/:models/manage permission can inject arbitrary JavaScript into that template, causing the code to run in the browser context of every user who views the corresponding collection items list. The impact is the theft of cookies or other browser‑side secrets, manipulation of page content, or execution of arbitrary actions on behalf of the logged‑in user.

Affected Systems

The vulnerability affects Cockpit CMS version 2.14.0 and earlier. The patch provided in commit 72a83fc addresses the issue; upgrading past 2.14.0 or applying that commit resolves the flaw.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. No EPSS score is publicly available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no known widespread exploits. However, the requirement of content/:models/manage permission means an attacker must be authenticated with that capability; once granted, the XSS can be used by any user who subsequently views the affected collection items. Internal attackers or compromised accounts with the necessary permission represent the most realistic threat vectors.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch included in commit 72a83fc or upgrade to a Cockpit CMS version later than 2.14.0.
  • Restrict the content/:models/manage permission to only trusted administrators and remove it from general editor or contributor roles.
  • Disable or remove the ability to define Set field Display templates for untrusted users; alternatively, enforce input sanitization for template strings prior to rendering.

Generated by OpenCVE AI on May 15, 2026 at 18:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-ch4j-vcf5-58x5 Cockpit CMS: Stored cross-site scripting vulnerability in the Set field type's Display template option
History
Type Values Removed Values Added
First Time appeared Agentejo
Agentejo cockpit
CPEs cpe:2.3:a:agentejo:cockpit:*:*:*:*:*:*:*:*
Vendors & Products Agentejo
Agentejo cockpit
Type Values Removed Values Added
First Time appeared Cockpit-hq
Cockpit-hq cockpit
Vendors & Products Cockpit-hq
Cockpit-hq cockpit
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Cockpit CMS 2.14.0 Stored XSS via Set Field Display Template
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:22 PM
Reserved
Jan 14, 2026, 10:02 PM
Status
Deferred
Published
May 15, 2026, 5:16 PM
Modified
Oct 8, 2026, 4:17 PM