{"id":"CVE-2026-129155","summary":"DjangoBlog 2.0.0.0 through 2.1.0.0 Stored XSS via Comment Sanitizer class_filter","details":"DjangoBlog 2.0.0.0 through 2.1.0.0 contains a stored cross-site scripting vulnerability because the class_filter comment sanitizer passes event-handler attributes on span, div, pre and code tags. Authenticated commenters can post a div with autofocus and onfocus attributes, executing script without interaction for every visitor, including administrators.","modified":"2026-11-14T02:47:34.039128869Z","published":"2026-11-13T17:22:03.144Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129155.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129155.json"},{"type":"PACKAGE","url":"https://github.com/liangliangyy/DjangoBlog"},{"type":"ARTICLE","url":"https://github.com/liangliangyy/DjangoBlog/blob/55655f236308841e0e83f5b383b1c2056a0fb48c/blog/templatetags/blog_tags.py#L138-L141"},{"type":"ARTICLE","url":"https://github.com/liangliangyy/DjangoBlog/blob/55655f236308841e0e83f5b383b1c2056a0fb48c/djangoblog/utils.py#L248-L269"},{"type":"REPORT","url":"https://github.com/liangliangyy/DjangoBlog/issues/1030"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129155"},{"type":"ADVISORY","url":"https://vul.yulun.ac.cn/20261101/djangoblog/"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/djangoblog-2.0.0.0-through-2.1.0.0-stored-xss-via-comment-sanitizer-class-filter"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/liangliangyy/djangoblog","events":[{"introduced":"53e7a311d29b4231b1f1f396dff170f95ed39cff"},{"last_affected":"55655f236308841e0e83f5b383b1c2056a0fb48c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.0.0.0"},{"last_affected":"2.1.0.0"}]}]}}],"versions":["2.1.0.0","2.0.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129155.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}]}