CVE-2021-25986: Django-wiki - Stored XSS
- Cve: CVE-2021-25986
- Name: Django-wiki - Stored XSS
- Description: 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.
- Impact: Attackers can execute arbitrary JavaScript in victims' browsers, potentially leading to session hijacking, defacement, or malicious redirects.
- Remediation: Update to the latest version beyond 0.7.8 that addresses this vulnerability or apply security patches.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs access to edit pages
- 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.00602
- Epss percentile: 0.49546
- Assignee: [email protected]
- Published at: 2021-11-23T20:15:10Z
- Age in days: 1827
- Modified at: 2026-06-17T03:42:44Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-25986
- 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/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5 | nvd | Patch, Third Party Advisory |
| https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986 | nvd | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| django-wiki_project:django-wiki | >= 0.0.20, <= 0.7.8 | no | nvd | /v1/products/django-wiki_project/django-wiki |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| django-wiki/django-wiki | commit, fix, package, pull | yes | /v1/repositories/django-wiki/django-wiki |
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