Description
shescape is a simple shell escape package for JavaScript. In shescape before version 1.1.3, anyone using _Shescape_ to defend against shell injection may still be vulnerable against shell injection if the attacker manages to insert a into the payload. For an example see the referenced GitHub Security Advisory. The problem has been patched in version 1.1.3. No further changes are required.
Remediation
References
https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3
https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b
https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh
https://www.npmjs.com/package/shescape
Related Vulnerabilities
CVE-2019-16564 Vulnerability in maven package com.paul8620.jenkins.plugins:pipeline-aggregator-view
CVE-2019-0191 Vulnerability in maven package org.apache.karaf.kar:org.apache.karaf.kar.core
CVE-2022-44729 Vulnerability in maven package org.apache.xmlgraphics:batik-svgrasterizer
CVE-2021-22135 Vulnerability in maven package org.elasticsearch:elasticsearch