6.1

CVE-2018-25045: django-rest-framework django_rest_framework Cross-site Scripting

CVSS: 6.1v3.1MediumModified
AliasesGHSA-xqcf-hj92-967mPYSEC-2026-804UBUNTU-CVE-2018-25045
Published 23-07-2022Last modified 05-08-2024

Vulnerability summary

CVE-2018-25045 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in django-rest-framework django_rest_framework. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 55.1% of scored vulnerabilities.

Overall risk
25/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.78%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 23-07-2022
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

Description

Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.78%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

+0.02 pp

From 0.76% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.78%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • djangorestframework< 3.10.2-1
Django-rest-framework1 product
PyPI1 product
  • django-rest-framework< 3.9.1
Ubuntu1 product
  • djangorestframeworkAll versions (No fix recorded)

4 vendors · 4 products

References

10 links