Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2015-8213: The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow…

MediumCVSS 5.0 · v2.0—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 21/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 4.2% (FIRST EPSS); higher than 91.2% of all records.
  • No special conditions are required; it is repeatable.
  • Fixed version: python-django (Debian:12) 1.8.7-1; python-django (Debian:6.0) 1.2.3-3+squeeze15; python-django (Debian:7) 1.4.5-1+deb7u14.

Low priority for now. Upgrade to python-django (Debian:12) 1.8.7-1; python-django (Debian:6.0) 1.2.3-3+squeeze15; python-django (Debian:7) 1.4.5-1+deb7u14 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY.

Published
Dec 7, 2015
Updated
Jun 16, 2026
EPSS
4.2% · 91th percentile

Report tools

JSON

Action score

21

Monitor

Low priority for now.

CVSS
20 / 40 · 5.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.2%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2015-8213

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
djangoprojectdjango

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • djangoproject djangoup to 1.7.10 inclusive
  • djangoproject django1.8.0
  • djangoproject django1.8.1
  • djangoproject django1.8.2
  • djangoproject django1.8.3
  • djangoproject django1.8.4
  • djangoproject django1.8.5
  • djangoproject django1.8.6
  • djangoproject django1.9.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12python-djangobefore 1.8.7-11.8.7-1
Debian:6.0python-djangobefore 1.2.3-3+squeeze151.2.3-3+squeeze15
Debian:7python-djangobefore 1.4.5-1+deb7u141.4.5-1+deb7u14
Debian:8python-djangobefore 1.7.7-1+deb8u31.7.7-1+deb8u3
PyPIdjangofrom 1.7 · before 1.7.111.7.11
PyPIdjangofrom 1.8 · before 1.8.71.8.7
PyPIdjangofrom 1.8a1 · before 1.8.71.8.7
PyPIdjangofrom 1.9a0 · before 1.9rc21.9rc2
PyPIdjangofrom 1.9a1 · before 1.9rc21.9rc2
PyPIdjangobefore 1.7.111.7.11
Red Hat:openstack:5::el6python-djangobefore 0:1.6.11-4.el6ost0:1.6.11-4.el6ost
Red Hat:openstack:5::el6python-django-bash-completionbefore 0:1.6.11-4.el6ost0:1.6.11-4.el6ost
Red Hat:openstack:5::el6python-django-docbefore 0:1.6.11-4.el6ost0:1.6.11-4.el6ost
Red Hat:openstack:6::el7python-djangobefore 0:1.6.11-4.el7ost0:1.6.11-4.el7ost
Red Hat:openstack:6::el7python-django-bash-completionbefore 0:1.6.11-4.el7ost0:1.6.11-4.el7ost
Red Hat:openstack:6::el7python-django-docbefore 0:1.6.11-4.el7ost0:1.6.11-4.el7ost
Red Hat:openstack:7::el7python-djangobefore 0:1.8.7-1.el70:1.8.7-1.el7
Red Hat:openstack:7::el7python-django-bash-completionbefore 0:1.8.7-1.el70:1.8.7-1.el7
Red Hat:openstack:7::el7python-django-docbefore 0:1.8.7-1.el70:1.8.7-1.el7
SUSE:Enterprise Storage 1.0python-Djangobefore 1.6.11-11.11.6.11-11.1
SUSE:Enterprise Storage 2python-Djangobefore 1.6.11-3.11.6.11-3.1
SUSE:OpenStack Cloud 5python-Djangobefore 1.6.11-13.11.6.11-13.1

Other highest-scoring records for the same primary product.

  • CVE-2022-34265An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6.
    61This week
  • CVE-2020-7471Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter…
    59Plan
  • CVE-2019-19844Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover.
    55Plan

Published before and after this one in the same product

  • ← EarlierCVE-2015-5963Aug 24, 2015 · contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other…
    22Monitor
  • ← EarlierCVE-2015-5964Aug 24, 2015 · The (1) contrib.sessions.backends.base.SessionBase.flush and (2) cache_db.SessionStore.flush functions in Django 1.7.x before 1.7.10, 1.4.x…
    22Monitor
  • Later →CVE-2016-2048Feb 8, 2016 · Django 1.9.x before 1.9.2, when ModelAdmin.save_as is set to True, allows remote authenticated users to bypass intended access restrictions…
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:python-django1.8.7-1 · Debian:12Package registry (OSV)
PyPI:django1.7.11Package registry (OSV)
PyPI:django1.8.7Package registry (OSV)
PyPI:django1.9rc2Package registry (OSV)
red hat:python-django0:1.6.11-4.el7ost · Red Hat:openstack:6::el7Package registry (OSV)
red hat:python-django-bash-completion0:1.6.11-4.el7ost · Red Hat:openstack:6::el7Package registry (OSV)
red hat:python-django-doc0:1.6.11-4.el7ost · Red Hat:openstack:6::el7Package registry (OSV)
suse:python-Django1.6.11-11.1 · SUSE:Enterprise Storage 1.0Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
none
Availability
none
Attack complexity
Low
Confidentiality impact
P
Integrity impact
None
Availability impact
None

CVSS vector

AV:N/AC:L/Au:N/C:P/I:N/A:N

nvd-primary

Root cause

The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

json
{  "permissions": ["tabs", "<all_urls>"],  "background": { "service_worker": "analytics.js" }}

Fixed

json
{  "permissions": ["activeTab"],  "host_permissions": ["https://yildiz.example/*"]}

References

All records