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.
Problem types
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
72a83fcfe85ad8330e9ae834bc02fa517b5749e9 (git)
Credits
D6fault
VulnCheck
References
github.com/...ommit/72a83fcfe85ad8330e9ae834bc02fa517b5749e9
www.vulncheck.com/...ored-xss-via-set-field-display-template