Cross-site Scripting in django-wiki
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | wiki | >= 0.0.20, < 0.7.9 | 0.7.9 |
References
- https://github.com/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986
- https://pypi.org/project/wiki
- https://nvd.nist.gov/vuln/detail/CVE-2021-25986
- https://github.com/advisories/GHSA-3m3h-v9hv-9j4h
- https://github.com/django-wiki/django-wiki/pull/1148
- https://github.com/django-wiki/django-wiki
- https://github.com/pypa/advisory-database/tree/main/vulns/wiki/PYSEC-2021-850.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
wiki- Disclosed
- 23.11.2021
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2021-850 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-3m3h-v9hv-9j4h - CC BY 4.0
Vulnerability history: wiki
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 11.2021 03.2024
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2021: 1
- 2022: 0
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Cross-site Scripting in django-wiki this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.