CWE
79
Advisory Published
Advisory Published
Updated

CVE-2019-12308: XSS

First published: Mon Jun 03 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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
pip/django>=2.2.0<2.2.2
2.2.2
pip/django>=2.1.0<2.1.9
2.1.9
pip/django>=1.11.0<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
ubuntu/python-django<1:1.11.11-1ubuntu1.4
1:1.11.11-1ubuntu1.4
ubuntu/python-django<1:1.11.15-1ubuntu1.3
1:1.11.15-1ubuntu1.3
ubuntu/python-django<1:1.11.20-1ubuntu0.1
1:1.11.20-1ubuntu0.1
ubuntu/python-django<1.11.21
1.11.21
debian/python-django
1:1.11.29-1~deb10u1
1:1.11.29-1+deb10u11
2:2.2.28-1~deb11u2
3:3.2.19-1+deb12u1
3:4.2.11-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2019-12308?

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

  • 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.

  • 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.

  • 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.

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203