Technical impact
An issue in Django 6.1 (before 6.1.3), 6.0 (before 6.0.10) and 5.2 (before 5.2.19) causes the BaseGeometryWidget.deserialize() method to log invalid geometry values without escaping, enabling remote attackers to inject arbitrary content into log files through a crafted geometry form submission. This behaves as a logging injection flaw (CWE‑117) that can compromise the integrity of audit logs and potentially plant malicious entries in them.
Affected Systems
The vulnerability affects the Django web framework, specifically versions 6.1.0‑6.1.2, 6.0.0‑6.0.9, and 5.2.0‑5.2.18. Although earlier series such as 5.1.x, 5.0.x and 4.2.x were not explicitly evaluated, they may also be susceptible.
Risk and Exploitability
With a CVSS score of 6.9 the issue is of moderate severity and is exploitable remotely by submitting a malformed geometry value via a web form that uses django.contrib.gis.forms. The EPSS score is unavailable and the vulnerability is not listed in the CISA KEV catalog, implying limited known exploitation, but the potential to corrupt log records remains. Attackers would need network access to the affected application and the ability to POST to a geometry form.