CVE-2026-31815

django-unicorn affected by component state manipulation via unvalidated attribute access

State
Published
Severity
5.3 Medium
Published
Mar 10, 2026
Updated
Mar 11, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

Description

Unicorn adds modern reactive component functionality to your Django templates. Prior to 0.67.0, component state manipulation is possible in django-unicorn due to missing access control checks during property updates and method calls. An attacker can bypass the intended _is_public protection to modify internal attributes such as template_name or trigger protected methods. This vulnerability is fixed in 0.67.0.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-284 Improper Access Control
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes

Affected Products

ProductVersions
django-unicorndjango-commons
  • < 0.67.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.