CVE-2021-25967 json
CKAN - Stored Cross-Site Scripting (XSS) via SVG File Upload
published 2021-12-01 4 y ago modified 2026-06-17 4 mo ago also GHSA-6w9p-88qg-p3g3 , PYSEC-2021-841 , EUVD-2021-0042
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
In CKAN, versions 2.9.0 to 2.9.3 are affected by a stored XSS vulnerability via SVG file upload of users’ profile picture. This allows low privileged application users to store malicious scripts in their profile picture. These scripts are executed in a victim’s browser when they open the malicious profile picture
Patch / fix
- pypi ckan 2.9.4, 2.10.0
- github.com/ckan/ckan@5a46989 commit
- github.com/ckan/ckan#6477 pull request
- whitesourcesoftware.com/vulnerability-database/CVE-2021-25967 advisory
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ckan | >=2.9.0, <2.10.0 >=2.9.0, <2.9.4 |
2.10.0 2.9.4 |
Affected products
- ckan ckan
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
whitesourcesoftware.com
/vulnerability-database/CVE-2021-25967
web, patch, third-party-advisory
-
github.com
/ckan/ckan/pull/6477
web
-
github.com
/ckan/ckan/commit/5a46989c0a4f2c2873ca182c196da83b82babd25
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-25967
advisory
-
github.com
/advisories/GHSA-6w9p-88qg-p3g3
advisory
-
github.com
/ckan/ckan
package
-
github.com
/pypa/advisory-database/tree/main/vulns/ckan/PYSEC-2021-841.yaml
web
Sources
- CVE List CVE-2021-25967
- GitHub Advisory GHSA-6w9p-88qg-p3g3
- NVD CVE-2021-25967
- OSV PYSEC-2021-841
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.