---
id: "CVE-2026-129155"
page: "https://infrastack.ai/live/CVE-2026-129155"
kind: "vulnerability"
aliases: ["CVE-2026-129155"]
title: "DjangoBlog: stored XSS in comments lets commenters run script"
severity: "medium"
cvss: 5.4
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "DjangoBlog", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["django", "djangoblog", "package", "self-hosted"]
not_affected_if: ["comments-disabled", "other-version"]
published_at: "2026-11-13T18:17:40+00:00"
first_seen_at: "2026-11-13T18:49:30+00:00"
updated_at: "2026-11-13T18:51:53+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129155", "first_seen_at": "2026-11-13T18:49:30+00:00"}]
exploit_sources: []
---

# DjangoBlog: stored XSS in comments lets commenters run script

Link for people: https://infrastack.ai/live/CVE-2026-129155 (this .md is for agents)

DjangoBlog versions 2.0.0.0 through 2.1.0.0 have a comment sanitizer that keeps event-handler attributes on span, div, pre and code tags. An authenticated commenter can post markup that runs script in every visitor's browser, including administrators.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:DjangoBlog affected range not listed fixed no fixed version listed

## How to check

- Confirm the installed DjangoBlog version falls in `2.0.0.0` through `2.1.0.0`
- Review the `class_filter` comment sanitizer in the codebase for allowed event-handler attributes on span, div, pre and code

## Timeline

- 2026-11-13T18:49:30+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129155

## Documents

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

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
