
Find real vulnerabilities before they ship
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.
Base Score
5.4| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| cockpit-hq/cockpit(Packagist) | 0 | N/A | N/A |
| Base Score | 5.1 |
|---|---|
| Vector String | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Base Severity | Medium |
| Version | 4.0 |
| Attack Vector (AV) | NETWORK |