Bump happy-dom from 20.14.6 to 21.0.3
DE
9h ago+5+5+0123456789-5-5-0123456789
Bumps happy-dom from 20.14.6 to 21.0.3.
Release notes
Sourced from happy-dom's releases.
v21.0.3
:construction_worker_man: Patch fixes
- Fixes security vulnerability where authorization header was forwarded when redirecting - By
@capricorn86v21.0.2
:construction_worker_man: Patch fixes
- Fixes SSRF security vulnerability by doing a target-origin bypass in the proxy server in @happy-dom/server-renderer - By
@capricorn86v21.0.1
:construction_worker_man: Patch fixes
- Adds alias for enabling CSS and iframe loading to @happy-dom/server-renderer - By
@capricorn86v21.0.0
:bomb: Breaking Changes
- Disables CSS and IFrame loading by default to prevent server-side request forgery (SSRF) - By
@capricorn86
- An attacker could embed
<iframe>or<link rel="stylesheet">elements in untrusted HTML to make Happy DOM send HTTP requests from the server to attacker-chosen URLs, including internal services. This could allow access to otherwise unreachable endpoints or trigger unintended actions, depending on the application and its network access.- The settings property
disableCSSFileLoadinghas been deprecated- Added the new settings properties enableCSSFileLoading and enableIframePageLoading
Commits
875ef5cfix: Fixes security vulnerability where authorization header was forwarded wh...1f3ffdffix: Fixes SSRF security vulnerability by doing a target-origin bypass in the...f55c7e0chore: Update security documentation (#2509)2b91e68fix: Adds alias for enabling CSS and iframe loading in server-renderer (#2503)0a99c75BREAKING CHANGE: Disables CSS and IFrame loading by default (#2502)- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates happy-dom from 20.14.6 to 21.0.3. This major release disables CSS and iframe loading by default to fix a server-side request forgery (SSRF) vulnerability, and includes two additional server-renderer security fixes.
Migration
- If stylesheet or iframe page loading is needed, set the new settings
enableCSSFileLoadingandenableIframePageLoading;disableCSSFileLoadingis deprecated.