Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Cockpit-HQ / Cockpit | affected 0 through 2.14.0; unaffected 72a83fcfe85ad8330e9ae834bc02fa517b5749e9 |
CWE
CWE-79
References
- https://github.com/Cockpit-HQ/Cockpit/commit/72a83fcfe85ad8330e9ae834bc02fa517b5749e9
- https://www.vulncheck.com/advisories/cockpit-cms-stored-xss-via-set-field-display-template
ADP enrichment
No English description supplied.
No references supplied.