CVE-2026-111211

Potential log injection via unescaped geometry form values

Published Nov 3, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
An issue was discovered in Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before 5.2.19.
`django.contrib.gis.forms.widgets.BaseGeometryWidget.deserialize()`, used by `django.contrib.gis.forms.GeometryField`, does not escape invalid submitted values before logging them, which allows remote attackers to inject or forge log entries via a crafted geometry value.
Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.
Django would like to thank Aaron chen for reporting this issue.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Django to version 6.1.3 or newer, 6.0.10 or newer, or 5.2.19 or newer depending on your current distribution.
  • If updating immediately is not feasible, modify any geometry-related forms to escape or remove raw geometry values before they reach the logging subsystem, for example by adding a sanitizing function or middleware.
  • As a temporary measure, disable or restrict logging of untrusted geometry inputs until a patch is deployed, ensuring that logs cannot contain unsanitized user content.

Generated by OpenCVE AI on November 3, 2026 at 16:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Django Project
Django Project django
Djangoproject
Djangoproject django
Vendors & Products Django Project
Django Project django
Djangoproject
Djangoproject django
Type Values Removed Values Added
Description An issue was discovered in Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before 5.2.19. `django.contrib.gis.forms.widgets.BaseGeometryWidget.deserialize()`, used by `django.contrib.gis.forms.GeometryField`, does not escape invalid submitted values before logging them, which allows remote attackers to inject or forge log entries via a crafted geometry value. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Aaron chen for reporting this issue.
Title Potential log injection via unescaped geometry form values
Weaknesses CWE-117
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-117

    Improper Output Neutralization for Logs

Sources

Status
PUBLISHED
Assigner
DSF
Published
Updated
Nov 3, 2026, 5:50 PM
Reserved
Oct 15, 2026, 6:11 PM
Status
Deferred
Published
Nov 3, 2026, 4:17 PM
Modified
Nov 3, 2026, 6:17 PM
Severity
Low
Public date
Nov 3, 2026, 3:30 PM