CVE-2021-25986
MEDIUM 5.4CVSS 3.1Cross-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.
- Published
- 23 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- vulnerabilitylab@mend.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-3m3h-v9hv-9j4hPYSEC-2021-850
- Sources
- NVDJSONOSV GHSA-3m3h-v9hv-9j4hJSONOSV PYSEC-2021-850JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | vulnerabilitylab@mend.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | django-wiki_project | django-wikicpe:2.3:a:django-wiki_project:django-wiki:*:*:*:*:*:*:*:* |
>= 0.0.20, <= 0.7.8 | |
| OSV | PyPI | wiki | >= 0.0.20, < 0.7.9 | 0.7.9 |
References
- https://github.com/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5 · Patch, Third Party Advisory, WEB, FIX
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986 · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25986 · ADVISORY
- https://github.com/django-wiki/django-wiki/pull/1148 · WEB
- https://github.com/django-wiki/django-wiki · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/wiki/PYSEC-2021-850.yaml · WEB
- https://pypi.org/project/wiki · WEB, PACKAGE
- https://github.com/advisories/GHSA-3m3h-v9hv-9j4h · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 23 Nov 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Nov 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Dec 2021)