Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-59681

Quick assessment

Affected
djangoproject Django
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 4.2版本至4.2.25之前版本、5.1版本至5.1.13之前版本和5.2版本至5.2.7之前版本存在SQL注入漏洞,该漏洞源于使用特制字典作为参数传递时,列别名容易受到SQL注入攻击。

CVSS 7.1 · High EPSS 0.62% · P48
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-59681

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods (on MySQL and MariaDB).
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Django SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 4.2版本至4.2.25之前版本、5.1版本至5.1.13之前版本和5.2版本至5.2.7之前版本存在SQL注入漏洞,该漏洞源于使用特制字典作为参数传递时,列别名容易受到SQL注入攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
djangoproject Django 4.2 ~ 4.2.25 -

II. Public POCs for CVE-2025-59681

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-59681

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-59681 (1)

Mailing List Discussions for CVE-2025-59681 (1)

Security Blog Posts for CVE-2025-59681 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-59681

No comments yet


Leave a comment