CVE-2020-25626: XSS

Published Sep 14, 2020
·
Updated

A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2. When using the browseable API viewer, Django REST Framework fails to properly escape certain strings that can come from user input. This allows a user who can control those strings to inject malicious <script> tags, leading to a cross-site-scripting (XSS) vulnerability.

Other sources

A flaw was found in Django REST Framework. When using the browseable API viewer, DRF fails to properly escape certain strings that can come from user input. This allows a user who can control those strings to inject malicious <script> tags, leading to a cross-site-scripting (XSS) vulnerability.

Red Hat

Affected Software

7 affected componentsFixes available
debian/djangorestframework
3.9.0-1+deb10u13.12.1-13.14.0-2
redhat/django-rest-framework<3.12.0
3.12.0
redhat/django-rest-framework<3.11.2
3.11.2
pip/djangorestframework<3.11.2
3.11.2
Encode Django Rest Framework<3.12.0
redhat Ceph Storage=2.0
Debian Debian Linux=11.0

Event History

Sep 30, 2020
CVE Published
via MITRE·07:24 PM
Data Sourced
via MITRE·07:24 PM
DescriptionWeakness
Mar 19, 2021
Advisory Published
09:32 PM
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-2020-25626?

The severity of CVE-2020-25626 is medium with a CVSS score of 6.1.

2

What is the impact of CVE-2020-25626?

CVE-2020-25626 allows an attacker to inject malicious script tags by exploiting certain strings from user input.

3

Which versions of Django REST Framework are affected by CVE-2020-25626?

Django REST Framework versions before 3.12.0 and before 3.11.2 are affected by CVE-2020-25626.

4

How can I fix CVE-2020-25626?

To fix CVE-2020-25626, update Django REST Framework to version 3.12.0 or apply the necessary patches provided by the respective package/source.

5

Where can I find more information about CVE-2020-25626?

You can find more information about CVE-2020-25626 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-25626), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1878635), [NetApp Security Advisory](https://security.netapp.com/advisory/ntap-20201016-0003/).

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