CWE
79
Advisory Published
Updated

REDHAT-BUG-2294457: XSS

First published: Thu Jun 27 2024(Updated: )

Versions of the package djangorestframework before 3.15.2 are vulnerable to Cross-site Scripting (XSS) via the break_long_headers template filter due to improper input sanitization before splitting and joining with &lt;br&gt; tags. <a href="https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642">https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642</a> <a href="https://github.com/encode/django-rest-framework/pull/9435">https://github.com/encode/django-rest-framework/pull/9435</a> <a href="https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137">https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137</a>

Affected SoftwareAffected VersionHow to fix
Django REST Framework<3.15.2

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.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-2294457?

    REDHAT-BUG-2294457 is classified as a high severity vulnerability due to its potential for Cross-site Scripting (XSS) attacks.

  • How do I fix REDHAT-BUG-2294457?

    To fix REDHAT-BUG-2294457, upgrade the Django REST Framework to version 3.15.2 or later.

  • What versions are affected by REDHAT-BUG-2294457?

    Versions of the Django REST Framework prior to 3.15.2 are affected by REDHAT-BUG-2294457.

  • What type of vulnerability is REDHAT-BUG-2294457?

    REDHAT-BUG-2294457 is a Cross-site Scripting (XSS) vulnerability caused by improper input sanitization.

  • Is user data at risk with REDHAT-BUG-2294457?

    Yes, user data may be at risk due to potential XSS attacks that can exploit REDHAT-BUG-2294457.

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