Description
Sanitize-html is a library for scrubbing html input of malicious values. Versions 1.11.1 and below are vulnerable to cross site scripting (XSS) in certain scenarios: If allowed at least one nonTextTags, the result is a potential XSS vulnerability.
Remediation
References
https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403
https://github.com/punkave/sanitize-html/issues/100
https://nodesecurity.io/advisories/154
Related Vulnerabilities
CVE-2022-38750 Vulnerability in maven package org.yaml:snakeyaml
CVE-2022-36045 Vulnerability in npm package nodebb
CVE-2019-16335 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2023-31718 Vulnerability in npm package @frangoteam/fuxa
CVE-2018-25031 Vulnerability in maven package org.webjars.npm:swagger-ui