CVE-2019-12308: XSS

Published Jun 3, 2019
·
Updated

An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.

Affected Software

7 affected componentsFixes available
pip/Django>=2.2a1<2.2.2
2.2.2
pip/Django>=2.1a1<2.1.9
2.1.9
pip/Django>=1.11a1<1.11.21
1.11.21
djangoproject Django>=1.11<1.11.21
djangoproject Django>=2.1<2.1.9
djangoproject Django>=2.2<2.2.2
debian/python-django
2:2.2.28-1~deb11u22:2.2.28-1~deb11u123:3.2.19-1+deb12u13:3.2.25-0+deb12u13:4.2.23-13:4.2.27-0+deb13u13:4.2.28-1

Event History

Jun 3, 2019
CVE Published
via MITRE·04:24 PM
Data Sourced
via MITRE·04:24 PM
Description
Data Sourced
via NVD·05:29 PM
DescriptionSeverityWeaknessAffected Software
Jun 10, 2019
Advisory Published
via GitHub·06:43 PM
Feb 20, 2026
Data Sourced
via Ubuntu·10:39 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·10:40 PM
Description
Data Sourced
via Debian·10:40 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2019-12308?

The severity of CVE-2019-12308 is medium with a severity value of 6.1.

2

Which versions of Django are affected by CVE-2019-12308?

Django versions 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2 are affected by CVE-2019-12308.

3

What is the remedy for CVE-2019-12308?

To fix CVE-2019-12308, upgrade Django to version 2.2.2, 2.1.9, or 1.11.21 depending on the version currently installed.

4

Where can I find more information about CVE-2019-12308?

You can find more information about CVE-2019-12308 on the NIST National Vulnerability Database (NVD), the Openwall OSS Security mailing list, and the Django official documentation.

5

What is the CWE classification for CVE-2019-12308?

CVE-2019-12308 is classified under CWE-79, which is Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203