Description
Apostrophe CMS versions between 2.63.0 to 3.3.1 are vulnerable to Stored XSS where an editor uploads an SVG file that contains malicious JavaScript onto the Images module, which triggers XSS once viewed.
Remediation
References
https://github.com/apostrophecms/apostrophe/commit/c8b94ee9c79468f1ce28e31966cb0e0839165e59
Related Vulnerabilities
CVE-2020-4051 Vulnerability in npm package dijit
CVE-2020-5421 Vulnerability in maven package org.springframework:spring-web
CVE-2019-10787 Vulnerability in npm package im-resize
CVE-2021-27290 Vulnerability in npm package ssri
CVE-2022-31160 Vulnerability in maven package org.webjars.bowergithub.jquery:jquery-ui