CVE-2021-25978
MEDIUM 5.4CVSS 3.1Cross-site Scripting in apostrophe
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.
- Published
- 7 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- vulnerabilitylab@mend.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-4r9c-jghc-cx5m
- Sources
- NVDJSONOSV GHSA-4r9c-jghc-cx5mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | vulnerabilitylab@mend.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apostrophecms | apostrophecmscpe:2.3:a:apostrophecms:apostrophecms:*:*:*:*:*:*:*:* |
>= 2.63.0, <= 3.3.1 | |
| OSV | npm | apostrophe | >= 2.63.0, < 3.4.0 | 3.4.0 |
References
- https://github.com/apostrophecms/apostrophe/commit/c8b94ee9c79468f1ce28e31966cb0e0839165e59 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25978 · ADVISORY
- https://github.com/apostrophecms/apostrophe · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 Nov 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 Nov 2021)