ADVISORIES

GitHub Advisory Database

GHSA-gw84-84pc-xp82

Cross-site Scripting in djangorestframework

Details

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 <br> tags.

Affected packages

EcosystemPackageAffected versions
PyPIdjangorestframework
All versions before 3.15.2 (fixed in 3.15.2)

References