Skip to content

Update dependency djangorestframework to v3.15.2 [SECURITY]#26

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/pypi-djangorestframework-vulnerability
Open

Update dependency djangorestframework to v3.15.2 [SECURITY]#26
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/pypi-djangorestframework-vulnerability

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented May 10, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
djangorestframework (changelog) ==3.9.1==3.15.2 age adoption passing confidence

Cross-site Scripting in djangorestframework

CVE-2024-21520 / GHSA-gw84-84pc-xp82

More information

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

Severity

  • CVSS Score: 2.1 / 10 (Low)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

encode/django-rest-framework (djangorestframework)

v3.15.2

Compare Source

What's Changed

New Contributors

Full Changelog: encode/django-rest-framework@3.15.1...3.15.2

v3.15.1: Version 3.15.1

Compare Source

What's Changed

New Contributors

Full Changelog: encode/django-rest-framework@3.15.0...3.15.1

v3.15.0

Compare Source

v3.14.0: Version 3.14.0

Compare Source

  • Django 2.2 is no longer supported. #​8662
  • Django 4.1 compatibility. #​8591
  • Add --api-version CLI option to generateschema management command. #​8663
  • Enforce is_valid(raise_exception=False) as a keyword-only argument. #​7952
  • Stop calling set_context on Validators. #​8589
  • Return NotImplemented from ErrorDetails.__ne__. #​8538
  • Don't evaluate DateTimeField.default_timezone when a custom timezone is set. #​8531
  • Make relative URLs clickable in Browseable API. #​8464
  • Support ManyRelatedField falling back to the default value when the attribute specified by dot notation doesn't exist. Matches ManyRelatedField.get_attribute to Field.get_attribute. #​7574
  • Make schemas.openapi.get_reference public. #​7515
  • Make ReturnDict support dict union operators on Python 3.9 and later. #​8302
  • Update throttling to check if request.user is set before checking if the user is authenticated. #​8370

v3.13.1: Version 3.13.1

Compare Source

  • Revert schema naming changes with function based @api_view. #​8297

v3.13.0: Version 3.13.0

Compare Source

  • Django 4.0 compatability. #​8178
  • Add max_length and min_length options to ListSerializer. #​8165
  • Add get_request_serializer and get_response_serializer hooks to AutoSchema. #​7424
  • Fix OpenAPI representation of null-able read only fields. #​8116
  • Respect UNICODE_JSON setting in API schema outputs. #​7991
  • Fix for RemoteUserAuthentication. #​7158
  • Make Field constructors keyword-only. #​7632

v3.12.4

Compare Source

v3.12.3

Compare Source

v3.12.2

Compare Source

v3.12.1

Compare Source

v3.12.0

Compare Source

v3.11.2

Compare Source

v3.11.1

Compare Source

v3.11.0

Compare Source

v3.10.3

Compare Source

v3.10.2

Compare Source

v3.10.1

Compare Source

v3.10.0

Compare Source

v3.9.4

Compare Source

v3.9.3: Version 3.9.3

Compare Source

This is the last Django REST Framework release that will support Python 2.
Be sure to upgrade to Python 3 before upgrading to Django REST Framework 3.10.

  • Adjusted the compat check for django-guardian to allow the last guardian
    version (v1.4.9) compatible with Python 2. #​6613

v3.9.2: Version 3.9.2

Compare Source

See Release Notes for details.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants