CVE-2026-129155

medium

Description

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.

References

https://www.vulncheck.com/advisories/djangoblog-2.0.0.0-through-2.1.0.0-stored-xss-via-comment-sanitizer-class-filter

https://vul.yulun.ac.cn/20261101/djangoblog/

https://github.com/liangliangyy/DjangoBlog/issues/1030

https://github.com/liangliangyy/DjangoBlog/blob/55655f236308841e0e83f5b383b1c2056a0fb48c/djangoblog/utils.py#L248-L269

https://github.com/liangliangyy/DjangoBlog/blob/55655f236308841e0e83f5b383b1c2056a0fb48c/blog/templatetags/blog_tags.py#L138-L141

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-125611

Details

Source: Mitre, NVD

Published: 2026-11-13

Updated: 2026-11-16

Risk Information

CVSS v2

Base Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 5.4

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 5.1

Vector: 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

Severity: Medium

EPSS

EPSS: 0.00215