medium5.4
CVE-2021-25986
Cross-site Scripting in django-wiki
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | wiki | >= 0.0.20, < 0.7.9 | 0.7.9 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Django-Wiki Project | Django-Wiki | from 0.0.20 through 0.7.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986
- https://github.com/advisories/GHSA-3m3h-v9hv-9j4h
- https://nvd.nist.gov/vuln/detail/CVE-2021-25986
- https://github.com/django-wiki/django-wiki/pull/1148
- https://github.com/pypa/advisory-database/tree/main/vulns/wiki/PYSEC-2021-850.yaml
- https://pypi.org/project/wiki