A type-confusion vulnerability can cause striptags to concatenate unsanitized strings when an array-like object is passed in as the html parameter. This can be abused by an attacker who can control the shape of their input, e.g. if query parameters are passed directly into the function.
Impact
XSS
Patches
3.2.0
Workarounds
Ensure that the html parameter is a string before calling the function.
Release Notes
ericnorris/striptags
### [`v3.2.0`](https://togithub.com/ericnorris/striptags/releases/v3.2.0)
[Compare Source](https://togithub.com/ericnorris/striptags/compare/v3.1.1...v3.2.0)
This release fixes a potential *type confusion* vulnerability when passing in a non-string argument to the function.
Configuration
📅 Schedule: "" (UTC).
🚦 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.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
3.1.1
->3.2.0
GitHub Vulnerability Alerts
CVE-2021-32696
A type-confusion vulnerability can cause
striptags
to concatenate unsanitized strings when an array-like object is passed in as thehtml
parameter. This can be abused by an attacker who can control the shape of their input, e.g. if query parameters are passed directly into the function.Impact
XSS
Patches
3.2.0
Workarounds
Ensure that the
html
parameter is a string before calling the function.Release Notes
ericnorris/striptags
### [`v3.2.0`](https://togithub.com/ericnorris/striptags/releases/v3.2.0) [Compare Source](https://togithub.com/ericnorris/striptags/compare/v3.1.1...v3.2.0) This release fixes a potential *type confusion* vulnerability when passing in a non-string argument to the function.Configuration
📅 Schedule: "" (UTC).
🚦 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 has been generated by WhiteSource Renovate. View repository job log here.