VDB
Sign up
MEDIUM5.4

GHSA-ch4j-vcf5-58x5

Cockpit CMS: Stored cross-site scripting vulnerability in the Set field type's Display template option

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/cockpit-hq/cockpit
Introduced in: 0

No fixed version published yet for cockpit-hq/cockpit (composer). Pin to a known-safe version or switch to an alternative.

References