{"id":"CVE-2021-25978","published":"2021-11-07T17:15:10Z","modified":"2025-04-30T15:52:43Z","title":"Apostrophe - XSS","vendor":"Apostrophe","product":"Apostrophe ","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00499,"percentile":0.43675,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/apostrophecms/apostrophe/commit/c8b94ee9c79468f1ce28e31966cb0e0839165e59","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":8.74},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"apostrophe","affectedVersions":[{"vendor":"Apostrophe ","product":"Apostrophe ","versions":[">= unspecified, <= 3.3.1",">= 2.63.0, < unspecified"]}],"solutions":{"items":["Upgrade to version 3.4.0"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-30T15:48:54.843310Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"apostrophe","vulnerableRanges":[">=2.63.0, <3.4.0"],"patched":["3.4.0"],"from":["GHSA-4r9c-jghc-cx5m"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting vulnerability in the Images module of Apostrophe CMS, affecting versions from 2.63.0 through 3.3.1, where SVG files are not sanitised on upload. An attacker with editor-level access can upload an SVG containing malicious JavaScript, which executes in the browser of any user who views it, requiring network access, low privileges (an editor account), and user interaction to trigger.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:23Z"},"euvd":{"id":"EUVD-2021-2296","exploited":false,"provenance":"source"}}