Description
XSS exists in Shave before 2.5.3 because output encoding is mishandled during the overwrite of an HTML element.
Remediation
References
https://github.com/dollarshaveclub/shave/commit/da7371b0531ba14eae48ef1bb1456a3de4cfa954#diff-074799b511e4b61923dfd3f2a3bf9b54R67
https://github.com/dollarshaveclub/shave/compare/852b537...da7371b
https://www.npmjs.com/advisories/822
Related Vulnerabilities
CVE-2016-3506 Vulnerability in maven package com.oracle:ojdbc7
CVE-2020-7680 Vulnerability in npm package docsify
CVE-2023-34104 Vulnerability in maven package org.webjars.npm:fast-xml-parser
CVE-2022-37264 Vulnerability in npm package steal
CVE-2020-26237 Vulnerability in maven package org.webjars.bowergithub.highlightjs:highlight.js