—
PYSEC-2021-850
Quick fix
PYSEC-2021-850 — wiki: upgrade to the fixed version with the command below.
pip install --upgrade 'wiki>=9eaccc7519e4206a4d2f22640882f0737b2da9c5'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/wiki
Introduced in:
0Fixed in: 9eaccc7519e4206a4d2f22640882f0737b2da9c5Fix
pip install --upgrade 'wiki>=9eaccc7519e4206a4d2f22640882f0737b2da9c5'References
- https://github.com/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5[FIX]
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986[WEB]
- https://pypi.org/project/wiki[PACKAGE]
- https://nvd.nist.gov/vuln/detail/CVE-2021-25986[ADVISORY]
- https://github.com/advisories/GHSA-3m3h-v9hv-9j4h[ADVISORY]