Cross-site scripting in Django - CVE-2026-115868
Published: December 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to potentially execute script in another user's browser in the context of the affected site.
The vulnerability exists due to improper neutralization of input in the truncatechars_html template filter and django.utils.text.Truncator.chars() with HTML mode enabled when the processed text is rendered in an HTML attribute. A remote attacker can supply content that the application processes and renders in that context to potentially cause script execution in another user's browser.
The affected case occurs when the input's text length matches the truncation length.