Skip to content

prototype pollution prevention#1394

Merged
waltjones merged 3 commits into
next/2.x/mainfrom
waltjones/2.x/prototype-pollution-2
Oct 17, 2025
Merged

prototype pollution prevention#1394
waltjones merged 3 commits into
next/2.x/mainfrom
waltjones/2.x/prototype-pollution-2

Conversation

@waltjones

Copy link
Copy Markdown
Contributor

Description of the change

Fixes two potential entry points for prototype pollution by ensuring the modified objects do not have a prototype.

Note:
Both new test cases failed before the fix.

Type of change

  • Bug fix (non-breaking change that fixes an issue)

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

@waltjones waltjones merged commit d717def into next/2.x/main Oct 17, 2025
5 checks passed
@waltjones waltjones deleted the waltjones/2.x/prototype-pollution-2 branch October 17, 2025 21:33
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.

2 participants