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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Cockpit-HQ Cockpit
Default version status: affected
0 to ≤ 2.14.0affected72a83fcfe85ad8330e9ae834bc02fa517b5749e9unaffected
pkg:composer/cockpit-hq/cockpit