Search for vulnerabilities
| Vulnerability ID | VCID-dsd6-hfud-ekfs |
| Aliases |
CVE-2021-25978
GHSA-4r9c-jghc-cx5m |
| Summary | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Apostrophe CMS versions between to 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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 6.2 |
| Risk | 3.1 |
| Affected and Fixed Packages | Package Details |
| System | Score | Found at |
|---|---|---|
| epss | 0.00206 | https://api.first.org/data/v1/epss?cve=CVE-2021-25978 |
| cvssv3.1 | 5.4 | https://github.com/apostrophecms/apostrophe |
| generic_textual | MODERATE | https://github.com/apostrophecms/apostrophe |
| cvssv3.1 | 5.4 | https://github.com/apostrophecms/apostrophe/commit/c8b94ee9c79468f1ce28e31966cb0e0839165e59 |
| generic_textual | MODERATE | https://github.com/apostrophecms/apostrophe/commit/c8b94ee9c79468f1ce28e31966cb0e0839165e59 |
| cvssv3.1 | 5.4 | https://nvd.nist.gov/vuln/detail/CVE-2021-25978 |
| generic_textual | MODERATE | https://nvd.nist.gov/vuln/detail/CVE-2021-25978 |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Percentile | 0.42771 |
| EPSS Score | 0.00206 |
| Published At | June 4, 2026, 12:55 p.m. |
| Date | Actor | Action | Source | VulnerableCode Version |
|---|---|---|---|---|
| 2026-06-02T04:40:21.513262+00:00 | GitLab Importer | Import | https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/apostrophe/CVE-2021-25978.yml | 38.6.0 |