5.4medium
Apostrophe - XSS
- Severity
- 5.4medium CVSS:3.1 by Mend
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mend
- Also known as
- GHSA-4r9c-jghc-cx5m
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apostrophe Apostrophe | from unspecified up to 3.3.1, from 2.63.0 before unspecified | CVE List |
| apostrophe (npm) | from 2.63.0 before 3.4.0 | GitHub Advisory Database |
| apostrophecms apostrophecms | from 2.63.0 up to 3.3.1 | NVD |
All scores
| Mend | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Apostrophe CMS versiones entre la 2.63.0 y la 3.3.1, son vulnerables a un ataque de tipo XSS almacenado, en el que un editor carga un archivo SVG que contiene JavaScript malicioso en el módulo de imágenes, lo que desencadena un ataque de tipo XSS una vez visualizado
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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-25978 changed 2025-04-30 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4r9c-jghc-cx5m changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-25978 changed 2026-06-17 | Public domain |