CVE-2021-25978: Apostrophe - XSS
Modified
AliasesGHSA-4r9c-jghc-cx5m
Published 07-11-2021Last modified 30-04-2025
Vulnerability summary
CVE-2021-25978 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in apostrophe. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.8% of scored vulnerabilities.
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)EPSS score
0.50%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded
Timeline
- 07-11-2021PublishedVulnerability first disclosed.
- 30-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versionsMedium 5.4Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NSourcesAll 3 agree
- OSV · NpmEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Low 3.5Preferred score · NVD (NIST)
AV:N/AC:M/Au:S/C:N/I:P/A:NSourcesSingle source
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.50% on 22-09-2026
22-09-202622-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Apostrophe1 product
- apostrophe≥ unspecified, ≤ 3.3.1 | ≥ 2.63.0, < unspecified
Apostrophecms1 product
- apostrophecms≥ 2.63.0, ≤ 3.3.1
Npm1 product
- apostrophe≥ 2.63.0, < 3.4.0
3 vendors · 3 products
References
3 links- github.com/apostrophecms/apostrophe/commit/c8b94ee9c79468f1ce28e31966cb0e0839165e59X Refsource MISCWEBPatchThird Party Advisory