GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CNVD-2021-29486

Vulnerability from cnvd - Published: 2021-04-19
VLAI
Title
Django跨站脚本漏洞(CNVD-2021-29486)
Description
Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 3.12.0之前版本和3.11.2之前版本存在跨站脚本漏洞。该漏洞源于使用可浏览的API查看器时,Django REST Framework无法正确转义某些可能来自用户输入的字符串。攻击者可利用该漏洞注入恶意的<script>标签造成跨站脚本执行。
Severity
Patch Name
Django跨站脚本漏洞(CNVD-2021-29486)的补丁
Patch Description
Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 3.12.0之前版本和3.11.2之前版本存在跨站脚本漏洞。该漏洞源于使用可浏览的API查看器时,Django REST Framework无法正确转义某些可能来自用户输入的字符串。攻击者可利用该漏洞注入恶意的<script>标签造成跨站脚本执行。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接:https://bugzilla.redhat.com/show_bug.cgi?id=1878635

Reference
https://nvd.nist.gov/vuln/detail/CVE-2020-25626
Impacted products
Name
['Django Django <3.12.0', 'Django Django <3.11.2']
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2020-25626",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2020-25626"
    }
  },
  "description": "Django\u662fDjango\u57fa\u91d1\u4f1a\u7684\u4e00\u5957\u57fa\u4e8ePython\u8bed\u8a00\u7684\u5f00\u6e90Web\u5e94\u7528\u6846\u67b6\u3002\u8be5\u6846\u67b6\u5305\u62ec\u9762\u5411\u5bf9\u8c61\u7684\u6620\u5c04\u5668\u3001\u89c6\u56fe\u7cfb\u7edf\u3001\u6a21\u677f\u7cfb\u7edf\u7b49\u3002\n\nDjango 3.12.0\u4e4b\u524d\u7248\u672c\u548c3.11.2\u4e4b\u524d\u7248\u672c\u5b58\u5728\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u4f7f\u7528\u53ef\u6d4f\u89c8\u7684API\u67e5\u770b\u5668\u65f6\uff0cDjango REST Framework\u65e0\u6cd5\u6b63\u786e\u8f6c\u4e49\u67d0\u4e9b\u53ef\u80fd\u6765\u81ea\u7528\u6237\u8f93\u5165\u7684\u5b57\u7b26\u4e32\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6ce8\u5165\u6076\u610f\u7684\u003cscript\u003e\u6807\u7b7e\u9020\u6210\u8de8\u7ad9\u811a\u672c\u6267\u884c\u3002",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1ahttps://bugzilla.redhat.com/show_bug.cgi?id=1878635",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-29486",
  "openTime": "2021-04-19",
  "patchDescription": "Django\u662fDjango\u57fa\u91d1\u4f1a\u7684\u4e00\u5957\u57fa\u4e8ePython\u8bed\u8a00\u7684\u5f00\u6e90Web\u5e94\u7528\u6846\u67b6\u3002\u8be5\u6846\u67b6\u5305\u62ec\u9762\u5411\u5bf9\u8c61\u7684\u6620\u5c04\u5668\u3001\u89c6\u56fe\u7cfb\u7edf\u3001\u6a21\u677f\u7cfb\u7edf\u7b49\u3002\r\n\r\nDjango 3.12.0\u4e4b\u524d\u7248\u672c\u548c3.11.2\u4e4b\u524d\u7248\u672c\u5b58\u5728\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u4f7f\u7528\u53ef\u6d4f\u89c8\u7684API\u67e5\u770b\u5668\u65f6\uff0cDjango REST Framework\u65e0\u6cd5\u6b63\u786e\u8f6c\u4e49\u67d0\u4e9b\u53ef\u80fd\u6765\u81ea\u7528\u6237\u8f93\u5165\u7684\u5b57\u7b26\u4e32\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6ce8\u5165\u6076\u610f\u7684\u003cscript\u003e\u6807\u7b7e\u9020\u6210\u8de8\u7ad9\u811a\u672c\u6267\u884c\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "Django\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\uff08CNVD-2021-29486\uff09\u7684\u8865\u4e01",
  "products": {
    "product": [
      "Django Django \u003c3.12.0",
      "Django Django \u003c3.11.2"
    ]
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2020-25626",
  "serverity": "\u4e2d",
  "submitTime": "2020-10-12",
  "title": "Django\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\uff08CNVD-2021-29486\uff09"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…