{"id":"GHSA-3m3h-v9hv-9j4h","summary":"Cross-site Scripting in django-wiki","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.","aliases":["CVE-2021-25986","PYSEC-2021-850"],"modified":"2024-11-19T18:40:55.205905Z","published":"2021-12-02T17:49:40Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-11-24T20:01:39Z","nvd_published_at":"2021-11-23T20:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25986"},{"type":"WEB","url":"https://github.com/django-wiki/django-wiki/pull/1148"},{"type":"WEB","url":"https://github.com/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5"},{"type":"PACKAGE","url":"https://github.com/django-wiki/django-wiki"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/wiki/PYSEC-2021-850.yaml"},{"type":"WEB","url":"https://pypi.org/project/wiki"},{"type":"WEB","url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986"}],"affected":[{"package":{"name":"wiki","ecosystem":"PyPI","purl":"pkg:pypi/wiki"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.20"},{"fixed":"0.7.9"}]}],"versions":["0.0.20","0.0.21","0.0.22","0.0.23","0.0.24","0.0.24.1","0.0.24.2","0.0.24.3","0.0.24.4","0.0.24.4.post1","0.1","0.1.1","0.1.2","0.1.dev20160119155955","0.1b0","0.2","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2b1","0.2b2","0.3","0.3.1","0.3b1","0.3b2","0.3b3","0.3b4","0.3rc1","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4a1","0.4a2","0.4a3","0.4a4","0.4a5","0.4b1","0.4b2","0.4b3","0.5","0.5.dev20181021091629","0.6","0.6b1","0.6b2","0.7","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-3m3h-v9hv-9j4h/GHSA-3m3h-v9hv-9j4h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}