XSS in Django Slippers

CVE-2026-34231

Slippers is a UI component framework for Django. Prior to version 0.6.3, a Cross-Site Scripting (XSS) vulnerability exists in the {% attrs %} template tag of the slippers Django package. When a context variable containing untrusted data is passed to {% attrs %}, the value is interpolated into an HTML attribute string without escaping, allowing an attacker to break out of the attribute context and inject arbitrary HTML or JavaScript into the rendered page. This issue has been patched in version 0.6.3.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.002 (13.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-34231?
CVE-2026-34231 is a medium-severity vulnerability in Django Slippers, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-03-31.
How severe is CVE-2026-34231?
Medium severity. CVSS v3 base score is 6.1 out of 10.