Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as content create/update user
-
DeliveryCraft link _id with double quote and HTML markup
-
ExploitSave content item storing the payload
-
ExecutionAdmin opens content dashboard or collection list
-
ImpactStored script executes in admin browser context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated account holding Cockpit's content 'create' or 'update' permission (PR:L) - not anonymous access. The attacker saves a content item whose linked-item _id value contains a double quote and HTML markup, abusing the content item-link field that feeds the display-content interpolation in content.js and content-recent-items.js. Execution is NOT self-contained: a victim with access to the admin UI must subsequently render the content dashboard or collection list (UI:P), at which point the stored markup executes in their browser. Limiting factors: the low-privilege account prerequisite, the dependence on a separate privileged viewer loading the affected views, and that this is default content-linking functionality (no special non-default configuration is required). |
| Impact | This is a medium-severity stored XSS (CVSS 4.0 base 5.1) that is a measured, schedule-it priority rather than an emergency. The input's own signals are internally consistent: the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) indicates network reach but requires an authenticated low-privileged account (PR:L - a user holding content create or update permission) and passive victim interaction (UI:P - an administrator must later view the content dashboard or collection list), which caps real-world risk. No EPSS score and no CISA KEV entry were provided, and there is no POC/Exploit field asserting working exploit code - only reference links (the vendor advisory and the vulnerable source lines), so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today Decision label is 'this_month', aligning with the medium severity and the lack of exploitation signals. The source-code diff confirms the mechanism precisely (unescaped interpolation of link._id, _model and display into a display-content HTML string), so the technical claim is well-substantiated. Net: a genuine but gated stored XSS - prioritize for the normal patch cycle, not for out-of-band response. |
| Exploit ScenarioDerived | A low-privileged but authenticated Cockpit user who can create or update content saves a linked item whose _id value contains a double quote plus HTML/script markup. Because the admin UI interpolates that _id into a display-content element without escaping, the payload executes in the browser of an administrator who later opens the content dashboard or collection list, enabling session-context actions as that higher-privileged viewer. No verified working exploit code is published, but the exact vulnerable lines and the escaping patch are public. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Stored cross-site scripting in Cockpit CMS through 2.14.1 lets an authenticated user who holds the content 'create' or 'update' permission save a linked-item _id value containing a double quote and HTML markup, which is later rendered unescaped in the admin UI. The payload fires when an administrator opens the content dashboard or a collection list, running in their browser session with the low-privileged account as the injection point and the privileged viewer as the trigger. Rated medium severity (CVSS 4.0 base 5.1; independently assessed as CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N), it is a scheduled remediation item, and an upstream fix commit is available; no public exploit code and no confirmed active exploitation were identified in the supplied sources.
RemediationAI
Upstream fix available (commit c4e0d13be644667c09c291d8ba9fd133280c9281); the supplied data does not name a tagged release that contains it, so confirm against the Cockpit-HQ/Cockpit releases before relying on a version number, and apply the commit or track the next release after 2.14.1. Refer to the VulnCheck advisory (https://www.vulncheck.com/advisories/cockpit-cms-through-2.14.1-stored-xss-via-content-item-link-attributes) and the two 2.14.1 source references for the exact interpolation sites being fixed. While an upgrade is pending, reduce exposure by auditing and tightening the content 'create' and 'update' permissions so only trusted editors can save content items - this removes the low-privilege injection prerequisite but does not eliminate the flaw, since any account retaining those permissions can still plant the payload, and administrators who subsequently open the content dashboard or collection list remain the execution target.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cockpit is a PHP-based headless CMS whose Content module ships a Vue-driven administration front end. The vulnerable pattern is string-built HTML: helper functions in modules/Content/assets/js/content.js and modules/Content/assets/vue-components/content-recent-items.js concatenate values into <display-content> tag attributes using JavaScript template literals, interpolating link._model, link._id and display directly into the markup (content.js lines ~32-37; content-recent-items.js lines ~165-175). Because the _id of a linked content item is attacker-influenced data and was not escaped, a value containing a double quote breaks out of the id attribute and injects arbitrary markup, which the browser parses as HTML - the CWE-79 stored cross-site scripting class. The upstream commit c4e0d13be644667c09c291d8ba9fd133280c9281 wraps each interpolated value in App.utils.escape() across content.js, content-recent-items.js and field-content-item-link.js, addressing both the recent-items rendering path and the item-link field component. No special non-default configuration is required; the vulnerable rendering is part of default content-linking functionality.
Know when Cockpit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Authenticated low-priv attacker stores the payload (PR:L, AC:L), but a separate admin must view it (UI:R); script runs in the victim's browser across a security boundary (S:C) with limited C/I impact and no availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Cockpit CMS through 2.14.1 contains a stored cross-site scripting vulnerability that allows authenticated users with content create or update permission to inject script via unescaped linked item _id values. Attackers can save an item whose link _id contains a double quote and HTML markup, executing script when administrators view the content dashboard or collection list.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword function. Rated critical
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function. Rated critical severit
Insufficient Session Expiration in GitHub repository cockpit-hq/cockpit prior to 2.2.0. Rated critical severity (CVSS 9.
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php newpassword function. Rated critical s
Agentejo Cockpit performs actions on files without appropriate validation and therefore allows an attacker to traverse t
SSRF (Server Side Request Forgery) in /assets/lib/fuc.js.php in Cockpit 0.4.4 through 0.5.5 allows remote attackers to r
PHP Remote File Inclusion in GitHub repository cockpit-hq/cockpit prior to 2.6.3. Rated high severity (CVSS 8.8), this v
A Cross-Site Request Forgery (CSRF) in the Admin portal of Cockpit CMS v2.5.2 allows attackers to execute arbitrary Admi
Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1. Rated high sever
Privilege Chaining in GitHub repository cockpit-hq/cockpit prior to 2.3.8. Rated high severity (CVSS 8.8), this vulnerab
Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.
Authenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr
EUVD-2026-134137
GHSA-hq9w-j2p2-2gw4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB