[PR #25709] fix: resolve devalue prototype pollution vulnerability #31173

Closed
opened 2026-02-21 20:48:58 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/25709

State: closed
Merged: Yes


Summary

This PR fixes a security vulnerability in the devalue package by forcing it to use the patched version 5.3.2.

Related Issue

Fixes #25708

Changes

  • Added devalue@<5.3.2: 5.3.2 to pnpm overrides in web/package.json
  • This ensures the vulnerable version (5.1.1) is replaced with the patched version (5.3.2)

Security Impact

This resolves the prototype pollution vulnerability identified by Dependabot in the devalue package, which was being pulled in as a transitive dependency through @tanstack/react-form.

**Original Pull Request:** https://github.com/langgenius/dify/pull/25709 **State:** closed **Merged:** Yes --- ## Summary This PR fixes a security vulnerability in the `devalue` package by forcing it to use the patched version 5.3.2. ## Related Issue Fixes #25708 ## Changes - Added `devalue@<5.3.2: 5.3.2` to pnpm overrides in `web/package.json` - This ensures the vulnerable version (5.1.1) is replaced with the patched version (5.3.2) ## Security Impact This resolves the prototype pollution vulnerability identified by Dependabot in the devalue package, which was being pulled in as a transitive dependency through @tanstack/react-form.
yindo added the pull-request label 2026-02-21 20:48:58 -05:00
yindo closed this issue 2026-02-21 20:48:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#31173