NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
LOW severity

CVE-2015-8213 — django

LOWFix: django/django@316bc3f

CVE-2015-8213 is a low-severity (CVSS 2.8) Information Exposure vulnerability in django. A fix is available for django — see the affected versions and patch details below.

Django settings leak in date template filter

Also known asGHSA-6wcr-wcqm-3mfhPYSEC-2015-11
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Nov 5, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
4.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs91th percentile — riskier than 91% of all scored CVEsHighest risk
2.51%3.27%4.02%4.78%3.0%4.3%4.3%4.3%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

3 pkgs affected
🐍django🐍django🐍django

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIdjango≥ 1.7&&< 1.7.111.7.11pip install --upgrade 'django==1.7.11'
🐍PyPIdjango≥ 1.8a1&&< 1.8.71.8.7pip install --upgrade 'django==1.8.7'
🐍PyPIdjango≥ 1.9a1&&< 1.9rc21.9rc2pip install --upgrade 'django==1.9rc2'

Affected Products

1 product · 9 configurations
Application
djangodjangoproject
≤ 1.7.10
8 versions
1.8.01.8.11.8.21.8.31.8.41.8.51.8.61.9.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for django, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update django to 1.7.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2015-8213 is resolved across your whole dependency graph.

  3. Workarounds

    Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6python-django-0:1.6.11-4.el6ostRHSA-2016:0158
Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7python-django-0:1.6.11-4.el7ostRHSA-2016:0157
Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7python-django-0:1.6.11-4.el7ostRHSA-2016:0129
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7python-django-0:1.8.7-1.el7RHSA-2016:0156
Red Hat Enterprise Linux OpenStack Platform 7.0 Operational Tools for RHEL 7python-django-0:1.6.11-4.el7ostRHSA-2016:0360

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2015-8213 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2015-8213: django Info Disclosure — Fixed in 1.7.11