Highlights
Information Disclosure: 3 prior fixes. Scrutinize any change in this area.
packages/happy-dom/src/fetch/utilities/SyncFetchScriptBuilder.ts: most-fixed (2 issues). Treat as high-risk during review.
4 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Remote Code Execution: The SyncFetchScriptBuilder component constructs scripts dynamically for synchronous fetch operations. Insecure string concatenation and improper serialization of target URLs allowed attackers to inject malicious JavaScript and achieve arbitrary code execution.
Information Disclosure: Faulty cross-origin cookie filtering logic during fetch operations allowed origin-specific cookies to be forwarded to unauthorized cross-origin destinations.
CORS Misconfiguration: Sensitive request headers, such as cookies and authorization payloads, were not properly stripped from outgoing requests during cross-origin redirects, violating standard fetch credentials specifications.