Update dependency HtmlSanitizer to 8.0.723 [SECURITY] #111
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.0.645
->8.0.723
GitHub Vulnerability Alerts
CVE-2023-44390
Impact
The vulnerability occurs in configurations where foreign content is allowed, i.e. either
svg
ormath
are in the list of allowed elements.Specifically, the requirements for the vulnerability are:
svg
, ormath
iframe
,noembed
,xmp
,title
,noframes
,style
ornoscript
Configurations that meet the above requirements plus the following are vulnerable to an additional vulnerability:
title
,desc
,mi
,mo
,mn
,ms
,mtext
,annotation-xml
.In case an application sanitizes user input with a vulnerable configuration, an attacker could
bypass the sanitization and inject arbitrary HTML, including JavaScript code.
Note that in the default configuration the vulnerability is not present.
Patches
The vulnerability has been fixed in versions 8.0.723 and 8.1.722-beta (preview version).
Workarounds
Disallow foreign elements
svg
andmath
. This is the case in the default configuration, which is therefore not affected by the vulnerability.Release Notes
mganss/HtmlSanitizer (HtmlSanitizer)
v8.0.723
: 8.0.723Fix for GHSA-43cp-6p3q-2pc4
v8.0.718
: 8.0.718Fix #469
v8.0.692
: 8.0.692Fixes a bug in CSS
url()
sanitizing (see #411)Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.