{"id":"GHSA-ch4j-vcf5-58x5","aliases":["CVE-2026-23695"],"title":"Cockpit CMS: Stored cross-site scripting vulnerability in the Set field type's Display template option","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.","severity":"medium","score":5.4,"published":"2026-05-15T18:30:34.000Z","modified":"2026-09-10T03:50:46.613Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"cockpit-hq/cockpit","ranges":[{"events":[{"introduced":"0"},{"last_affected":"2.14.0"}],"type":"ECOSYSTEM"}],"versions":["2.0.0","2.0.1","2.0.2","2.1.0","2.1.1","2.1.2","2.10.0","2.10.1","2.10.2","2.10.3","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.12.0","2.12.1","2.13.0","2.13.1","2.13.2","2.13.3","2.13.4","2.13.5","2.14.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.1","2.5.0","2.5.1","2.5.2","2.6.0","2.6.1","2.6.2","2.6.3","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.9.4"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-23695","https://github.com/Cockpit-HQ/Cockpit/commit/72a83fcfe85ad8330e9ae834bc02fa517b5749e9","https://github.com/Cockpit-HQ/Cockpit","https://www.vulncheck.com/advisories/cockpit-cms-stored-xss-via-set-field-display-template"],"sources":[{"name":"OSV","id":"GHSA-ch4j-vcf5-58x5","modified":"2026-09-10T03:50:46.613707311Z","url":"https://osv.dev/vulnerability/GHSA-ch4j-vcf5-58x5"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},{"source":"OSV","vector":"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","score":5.1}]}