PT-2021-11234
CVE-2020-26293
·
Published
2021-01-04
·
Updated
2021-01-07
Description by
CVSS 3.1
6.1
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions:
HtmlSanitizer versions prior to 5.0.372
Description:
The issue allows for a possible XSS bypass if the
<style> tag is allowed. An attacker could craft HTML that includes script after passing through the sanitizer if the <style> tag has been explicitly allowed. The default settings disallow the <style> tag, posing no risk if it has not been explicitly allowed.Recommendations:
For versions prior to 5.0.372, update to version 5.0.372 to resolve the issue.
As a temporary workaround, consider removing the
<style> tag from the set of allowed tags until a patch is applied. Found an issue in the description? Have something to add? Feel free to write us 👾