Every CVE Search/ Get API key

CVE-2015-8213

Django settings leak in date template filter

5.0 MediumFix available

CVE-2015-8213 is a medium vulnerability (CVSS 5.0) in Djangoproject Django, published November 24, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.28%, the 91st percentile. Fixed in django 1.7.11.

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.

Exploit likelihood

4.28%Up 0.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

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.

Record
CVE-2015-8213
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2015-8213
Updated
2026-11-02
EUVDEUVD-2015-0006 No score

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.

Record
EUVD-2015-0006
Updated
2026-11-03
GitHub AdvisoriesGHSA-6wcr-wcqm-3mfh 6.9

Django settings leak in date template filter

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.

Record
GHSA-6wcr-wcqm-3mfh
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
OSVGHSA-6wcr-wcqm-3mfh 6.9

Django settings leak in date template filter

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.

Record
GHSA-6wcr-wcqm-3mfh
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
OSV No score

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.

Record
CVE-2015-8213
Updated
2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2015-8213 No score

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.

Record
DEBIAN-CVE-2015-8213
Updated
2026-11-02
OSVMGASA-2015-0463 No score

Updated python-django packages fix security vulnerability

If an application allows users to specify an unvalidated format for dates and passes this format to the date filter, then a malicious user could obtain any secret in the application's settings by specifying a settings key instead of a date format (CVE-2015-8213).

Record
MGASA-2015-0463
Updated
2026-11-02
OSVPYSEC-2015-11 No score

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.

Record
PYSEC-2015-11
Updated
2026-11-02
OSVSUSE-SU-2015:2327-1 No score

Security update for python-Django

This update for python-Django fixes the following issues:

  • Add 0004-1.6.x-fixed-a-settings-leak-possibility-in-the-date-.patch to prevent settings leak in date template filter (bsc#955412, CVE-2015-8213)
Record
SUSE-SU-2015:2327-1
Updated
2026-11-02
OSVSUSE-SU-2016:0040-1 No score

Security update for python-Django

This update for python-Django fixes the following issues:

  • Prevent settings leak in date template filter. (bsc#955412, CVE-2015-8213)
Record
SUSE-SU-2016:0040-1
Updated
2026-11-02
OSVSUSE-SU-2016:0044-1 No score

Security update for python-Django

This update fixes the following security issues:

  • (bnc#955412, CVE-2015-8213) Possible settings leak in date template filter

  • (bnc#937522, CVE-2015-5143) Possible denial-of-service in session store

  • (bnc#937523, CVE-2015-5144) Possible Header injection

  • (bnc#941587, CVE-2015-5963) Possible denial-of-service by filling session store via logout()

Record
SUSE-SU-2016:0044-1
Updated
2026-11-02
OSVUBUNTU-CVE-2015-8213 No score

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.

Record
UBUNTU-CVE-2015-8213
Updated
2026-11-02
OSVUSN-2816-1 No score

python-django vulnerability

Ryan Butterfield discovered that Django incorrectly handled the date template filter. A remote attacker could possibly use this issue to obtain secrets from application settings.

Record
USN-2816-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
django
PyPI
1.7 up to 1.7.11
1.7.11
django
PyPI
1.9a1 up to 1.9rc2
1.9rc2
django
PyPI
1.8a1 up to 1.8.7
1.8.7
python-django
Debian:12
before 1.8.7-1
1.8.7-1
python-django
Debian:13
before 1.8.7-1
1.8.7-1
python-django
Debian:14
before 1.8.7-1
1.8.7-1
python-django
Debian:6.0
before 1.2.3-3+squeeze15, plus listed versions
1.2.3-31.2.3-3+squeeze11.2.3-3+squeeze101.2.3-3+squeeze111.2.3-3+squeeze12
Show 9 moreShow less
1.2.3-3+squeeze131.2.3-3+squeeze141.2.3-3+squeeze21.2.3-3+squeeze31.2.3-3+squeeze51.2.3-3+squeeze61.2.3-3+squeeze71.2.3-3+squeeze81.2.3-3+squeeze9
1.2.3-3+squeeze15
python-django
Debian:7
before 1.4.5-1+deb7u14, plus listed versions
1.4.5-11.4.5-1+deb7u11.4.5-1+deb7u101.4.5-1+deb7u111.4.5-1+deb7u11~bpo60+1
Show 15 moreShow less
1.4.5-1+deb7u121.4.5-1+deb7u131.4.5-1+deb7u13~bpo60+11.4.5-1+deb7u14~bpo60+11.4.5-1+deb7u21.4.5-1+deb7u31.4.5-1+deb7u41.4.5-1+deb7u4~bpo60+11.4.5-1+deb7u51.4.5-1+deb7u61.4.5-1+deb7u71.4.5-1+deb7u7~bpo60+11.4.5-1+deb7u81.4.5-1+deb7u8~bpo60+11.4.5-1+deb7u9
1.4.5-1+deb7u14
python-django
Debian:8
before 1.7.7-1+deb8u3, plus listed versions
1.7.7-11.7.7-1+deb8u11.7.7-1+deb8u2
1.7.7-1+deb8u3
django
PyPI
1.7 up to 1.7.11, plus listed versions
1.7.11.7.101.7.21.7.31.7.4
Show 5 moreShow less
1.7.51.7.61.7.71.7.81.7.9
1.7.11
Show 22 moreShow less
Affected packages
PackageAffectedFixed
django
PyPI
1.8a1 up to 1.8.7, plus listed versions
1.81.8.11.8.21.8.31.8.4
Show 5 moreShow less
1.8.51.8.61.8b11.8b21.8c1
1.8.7
django
PyPI
1.9a1 up to 1.9rc2, plus listed versions
1.9b11.9rc1
1.9rc2
python-django
Mageia:5
before 1.8.7-1.mga5
1.8.7-1.mga5
django
PyPI
before 1.7.11, 1.8 up to 1.8.7, 1.9a0 up to 1.9rc2, plus listed versions
1.0.11.0.21.0.31.0.41.1
Show 45 moreShow less
1.1.11.1.21.1.31.1.41.21.2.11.2.21.2.31.2.41.2.51.2.61.2.71.31.3.11.3.21.3.31.3.41.3.51.3.61.3.71.41.4.11.4.101.4.111.4.121.4.131.4.141.4.151.4.161.4.171.4.181.4.191.4.21.4.201.4.211.4.221.4.31.4.41.4.51.4.61.4.71.4.81.4.91.51.5.1
1.7.111.8.71.9rc2
python-django
Red Hat:openstack:6::el7
before 0:1.6.11-4.el7ost
0:1.6.11-4.el7ost
python-django-bash-completion
Red Hat:openstack:6::el7
before 0:1.6.11-4.el7ost
0:1.6.11-4.el7ost
python-django-doc
Red Hat:openstack:6::el7
before 0:1.6.11-4.el7ost
0:1.6.11-4.el7ost
python-django
Red Hat:openstack:7::el7
before 0:1.8.7-1.el7
0:1.8.7-1.el7
python-django-bash-completion
Red Hat:openstack:7::el7
before 0:1.8.7-1.el7
0:1.8.7-1.el7
python-django-doc
Red Hat:openstack:7::el7
before 0:1.8.7-1.el7
0:1.8.7-1.el7
python-django
Red Hat:openstack:5::el7
before 0:1.6.11-4.el7ost
0:1.6.11-4.el7ost
python-django-bash-completion
Red Hat:openstack:5::el7
before 0:1.6.11-4.el7ost
0:1.6.11-4.el7ost
python-django-doc
Red Hat:openstack:5::el7
before 0:1.6.11-4.el7ost
0:1.6.11-4.el7ost
python-django
Red Hat:openstack:5::el6
before 0:1.6.11-4.el6ost
0:1.6.11-4.el6ost
python-django-bash-completion
Red Hat:openstack:5::el6
before 0:1.6.11-4.el6ost
0:1.6.11-4.el6ost
python-django-doc
Red Hat:openstack:5::el6
before 0:1.6.11-4.el6ost
0:1.6.11-4.el6ost
python-django
Red Hat:openstack-optools:7::el7
before 0:1.6.11-4.el7ost
0:1.6.11-4.el7ost
python-django-bash-completion
Red Hat:openstack-optools:7::el7
before 0:1.6.11-4.el7ost
0:1.6.11-4.el7ost
python-Django
SUSE:Enterprise Storage 1.0
before 1.6.11-11.1
1.6.11-11.1
python-Django
SUSE:OpenStack Cloud 5
before 1.6.11-13.1
1.6.11-13.1
python-Django
SUSE:Enterprise Storage 2
before 1.6.11-3.1
1.6.11-3.1
python-django
Ubuntu:14.04:LTS
before 1.6.1-2ubuntu0.11, plus listed versions
1.5.4-1ubuntu11.6-11.6.1-11.6.1-21.6.1-2ubuntu0.1
Show 8 moreShow less
1.6.1-2ubuntu0.21.6.1-2ubuntu0.31.6.1-2ubuntu0.41.6.1-2ubuntu0.51.6.1-2ubuntu0.61.6.1-2ubuntu0.81.6.1-2ubuntu0.91.6.1-2ubuntu0.10
1.6.1-2ubuntu0.11

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 46 moreShow less
This page doesn't list everything

Left out here: 45 versions. The JSON record has them.

MoveEnter Open