Cockpit CMS through 2.14.1 Stored XSS via Content Item Link Attributes
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 24, 2026
Description
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.
| Product | Versions |
|---|---|
| Cockpit Cockpit-HQ | 2.14.1 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://github.com/Cockpit-HQ/Cockpit/commit/c4e0d13be644667c09c291d8ba9fd133280c9281Patch
- https://github.com/Cockpit-HQ/Cockpit/blob/2.14.1/modules/Content/assets/js/content.js#L32-L37Technical Details
- https://github.com/Cockpit-HQ/Cockpit/blob/2.14.1/modules/Content/assets/vue-components/content-recent-items.js#L165-L175Technical Details
- VulnCheck Advisory: Cockpit CMS through 2.14.1 Stored XSS via Content Item Link AttributesThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.