| 标题 | Node.js @tamagui/web 2.2.0 Prototype Pollution |
|---|
| 描述 | @tamagui/[email protected] exposes updateConfig() from the root package. The function accepts an arbitrary config key and uses it to select the merge target:
Object.assign(config[key], value)
When the key is __proto__, config[key] resolves to Object.prototype if the config object does not define its own __proto__ property. As a result, updateConfig("__proto__", value) can write attacker-controlled properties onto Object.prototype. |
|---|
| 来源 | ⚠️ https://github.com/tamagui/tamagui/issues/4029 |
|---|
| 用户 | wjm1 (UID 98929) |
|---|
| 提交 | 2026-06-11 17時04分 (1 月前) |
|---|
| 管理 | 2026-07-14 07時29分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 378249 [tamagui 直到 2.3.0 config.ts updateConfig 权限提升] |
|---|
| 积分 | 20 |
|---|