CVE-2021-25986 json
Django-wiki - Stored Cross-Site Scripting (XSS) in Notifications Section
published 2021-11-23 4 y ago modified 2026-06-17 4 mo ago also GHSA-3m3h-v9hv-9j4h , PYSEC-2021-850 , EUVD-2021-0468
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
In Django-wiki, versions 0.0.20 to 0.7.8 are vulnerable to Stored Cross-Site Scripting (XSS) in Notifications Section. An attacker who has access to edit pages can inject JavaScript payload in the title field. When a victim gets a notification regarding the changes made in the application, the payload in the notification panel renders and loads external JavaScript.
Patch / fix
- pypi wiki 0.7.9
- github.com/django-wiki/django-wiki@9eaccc7 commit
- github.com/django-wiki/django-wiki#1148 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 49% 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 | wiki | >=0.0.20, <0.7.9 |
0.7.9 |
Affected products
- Django-wiki Django-wiki
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5
web, patch, third-party-advisory
-
github.com
/django-wiki/django-wiki/pull/1148
web
-
whitesourcesoftware.com
/vulnerability-database/CVE-2021-25986
web, third-party-advisory, vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2021-25986
advisory
-
github.com
/django-wiki/django-wiki
package
-
github.com
/pypa/advisory-database/tree/main/vulns/wiki/PYSEC-2021-850.yaml
web
-
pypi.org
/project/wiki
web, package
-
github.com
/advisories/GHSA-3m3h-v9hv-9j4h
advisory
Sources
- CVE List CVE-2021-25986
- GitHub Advisory GHSA-3m3h-v9hv-9j4h
- NVD CVE-2021-25986
- OSV PYSEC-2021-850
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.