Description
marked is an application that is meant to parse and compile markdown. Due to the way that marked 0.3.5 and earlier parses input, specifically HTML entities, it's possible to bypass marked's content injection protection (`sanitize: true`) to inject a `javascript:` URL. This flaw exists because `NNanything;` gets parsed to what it could and leaves the rest behind, resulting in just `anything;` being left.
Remediation
References
https://nodesecurity.io/advisories/101
https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523
https://github.com/chjj/marked/pull/592
Related Vulnerabilities
CVE-2018-16131 Vulnerability in maven package com.typesafe.akka:akka-http-core_2.11
CVE-2022-4245 Vulnerability in maven package org.codehaus.plexus:plexus-utils
CVE-2022-39135 Vulnerability in maven package org.apache.calcite:calcite-core
CVE-2017-16101 Vulnerability in npm package serverwg
CVE-2022-36918 Vulnerability in maven package org.jenkins-ci.plugins:buckminster