CVE-2026-23695: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Cockpit-HQ Cockpit
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.
AI Analysis
Technical Summary
Cockpit CMS through version 2.14.0 is affected by a stored cross-site scripting vulnerability in the Set field type's Display template option. The vulnerability occurs because the template string is processed by the $interpolate function using new Function() and rendered via Vue's v-html directive without sanitization, allowing injection of arbitrary JavaScript. An attacker with content/:models/manage permission can exploit this to execute malicious scripts in the browsers of users viewing the collection items list. The issue was patched in commit 72a83fc, which is included in version 2.14.0.
Potential Impact
An attacker with content/:models/manage permission can inject arbitrary JavaScript code into the Display template option of the Set field type. This code executes in the context of any user viewing the collection items list, potentially leading to session hijacking, unauthorized actions, or other malicious activities within the affected application context. The vulnerability does not require user interaction beyond viewing the affected page and has a medium severity rating (CVSS 5.1).
Mitigation Recommendations
A fix for this vulnerability is available in Cockpit CMS version 2.14.0, specifically in commit 72a83fc. Users should upgrade to version 2.14.0 or later to remediate this issue. Until upgraded, restrict permissions to prevent untrusted users from having content/:models/manage access, as this permission is required to exploit the vulnerability.
CVE-2026-23695: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Cockpit-HQ Cockpit
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.
CVSS v4.0
Score 5.1medium
Affected software
pkg:github/cockpit-hq/CockpitRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Cockpit CMS through version 2.14.0 is affected by a stored cross-site scripting vulnerability in the Set field type's Display template option. The vulnerability occurs because the template string is processed by the $interpolate function using new Function() and rendered via Vue's v-html directive without sanitization, allowing injection of arbitrary JavaScript. An attacker with content/:models/manage permission can exploit this to execute malicious scripts in the browsers of users viewing the collection items list. The issue was patched in commit 72a83fc, which is included in version 2.14.0.
Potential Impact
An attacker with content/:models/manage permission can inject arbitrary JavaScript code into the Display template option of the Set field type. This code executes in the context of any user viewing the collection items list, potentially leading to session hijacking, unauthorized actions, or other malicious activities within the affected application context. The vulnerability does not require user interaction beyond viewing the affected page and has a medium severity rating (CVSS 5.1).
Mitigation Recommendations
A fix for this vulnerability is available in Cockpit CMS version 2.14.0, specifically in commit 72a83fc. Users should upgrade to version 2.14.0 or later to remediate this issue. Until upgraded, restrict permissions to prevent untrusted users from having content/:models/manage access, as this permission is required to exploit the vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-01-14T22:02:15.208Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a075665ec166c07b0723465
Added to database: 05/15/2026, 17:22:45 UTC
Last enriched: 07/15/2026, 11:03:59 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 97
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.