Red Hat VEX
RHVEX-CVE-2026-84371
sanitize-html: stored XSS via SVG SMIL URI-list scheme-policy bypass
Details
A flaw was found in sanitize-html. Improper validation of the animation value attributes in SVG files allows an attacker to bypass scheme filters and embed a malicious script destination within a list of values. When a user interacts with the rendered SVG animation, the embedded script executes in the context of the application, leading to Cross-Site Scripting (XSS).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | cockpit-image-builder | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-84371
- https://bugzilla.redhat.com/show_bug.cgi?id=2527092
- https://www.cve.org/CVERecord?id=CVE-2026-84371
- https://nvd.nist.gov/vuln/detail/CVE-2026-84371
- https://github.com/apostrophecms/apostrophe/blob/main/packages/sanitize-html/CHANGELOG.md
- https://github.com/apostrophecms/apostrophe/commit/1135516a1a4a8f9638641c460488a43d8af20081
- https://github.com/apostrophecms/apostrophe/commit/38ff1106c8176b16c2da9872acd9b449adcbb949
- https://github.com/apostrophecms/apostrophe/pull/5552
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-g8qq-57p8-ggw5