CVE-2021-25978Apostrophecms
Medium 5.4
Follow: this CVE · Apostrophecms · Apostrophecms We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 44
- Auth required
- Yes
- Published
- Nov 7, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Apostrophecms.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | apostrophe |
≥ 2.63.0 < 3.4.0 |
3.4.0 |
npm install apostrophe@3.4.0 |
Per OSV / GitHub Advisories (GHSA-4r9c-jghc-cx5m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apostrophecms | apostrophecms | ≥ 2.63.0 ≤ 3.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory