{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-25986","id":"CVE-2021-25986","title":"Django-wiki - Stored Cross-Site Scripting (XSS) in Notifications Section","description":"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.","descriptionLong":"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":"2021-11-23T19:17:08.282Z","updated":"2026-10-20T10:53:40.761633187Z","reserved":"2021-01-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Mend","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"Mend"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"Mend"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"mend.io"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["Django-wiki"],"affectedProducts":[{"vendor":"Django-wiki","product":"Django-wiki","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"affected","version":"0.0.20","versionType":"custom"},{"lessThanOrEqual":"0.7.8","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"wiki","purl":"pkg:pypi/wiki","ranges":[">=0.0.20 <0.7.9"],"fixed":["0.7.9"],"advisory":"GHSA-3m3h-v9hv-9j4h"}],"cwes":["CWE-79"],"aliases":["GHSA-3m3h-v9hv-9j4h","PYSEC-2021-850"],"references":[{"url":"https://github.com/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25986","tags":["advisory"]},{"url":"https://github.com/django-wiki/django-wiki/pull/1148","tags":["web"]},{"url":"https://github.com/django-wiki/django-wiki","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/wiki/PYSEC-2021-850.yaml","tags":["web"]},{"url":"https://pypi.org/project/wiki","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-3m3h-v9hv-9j4h","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00602,"epssPercentile":0.49768,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-25986","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25986","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-25986","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3m3h-v9hv-9j4h","ok":true,"note":"GHSA-3m3h-v9hv-9j4h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-25986","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}