Description (CNA)
Builder.io Gen2 SDKs through versions 5.2.11 and 0.25.13 contain a prototype pollution vulnerability in the unflatten helper that processes builder.userAttributes query parameters without prototype guards. Attackers can craft preview links with __proto__ or prototype segments to pollute Object.prototype in a visitor's browser when the SDK processes the malicious URL.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| BuilderIO / @builder.io/sdk-react | affected 0 through 5.2.11 |
| BuilderIO / @builder.io/sdk-vue | affected 0 through 5.2.11 |
| BuilderIO / @builder.io/sdk-svelte | affected 0 through 5.2.11 |
| BuilderIO / @builder.io/sdk-solid | affected 0 through 5.2.11 |
| BuilderIO / @builder.io/sdk-qwik | affected 0 through 0.25.13 |
| BuilderIO / @builder.io/sdk-angular | affected 0 through 0.25.13 |
| BuilderIO / @builder.io/sdk-react-nextjs | affected 0 through 0.25.13 |
CWE
CWE-1321
References
- https://github.com/BuilderIO/builder/issues/4824
- https://github.com/BuilderIO/builder
- https://github.com/BuilderIO/builder/blob/main/packages/sdks/src/functions/get-content/generate-content-url.ts
- https://github.com/BuilderIO/builder/blob/main/packages/sdks/src/helpers/flatten.ts#L60-L76
- https://www.vulncheck.com/advisories/builder-io-gen2-sdks-through-5.2.11-prototype-pollution-via-builder-userattributes
ADP enrichment
No English description supplied.