CVE-2021-25978: Apostrophe CMS - Stored XSS
- Cve: CVE-2021-25978
- Name: Apostrophe CMS - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in the context of other users, leading to session hijacking or defacement.
- Remediation: Update to version 3.3.2 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to upload malicious SVG file
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00499
- Epss percentile: 0.43615
- Assignee: [email protected]
- Published at: 2021-11-07T18:15:07Z
- Age in days: 1843
- Modified at: 2026-06-17T03:42:43Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-25978
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/apostrophecms/apostrophe/commit/c8b94ee9c79468f1ce28e31966cb0e0839165e59 | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apostrophecms:apostrophecms | >= 2.63.0, <= 3.3.1 | no | nvd | /v1/products/apostrophecms/apostrophecms |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apostrophecms/apostrophe | commit, fix, package | yes | /v1/repositories/apostrophecms/apostrophe |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts