{"cve":"CVE-2016-10531","nvd":{"published":"2018-05-31T20:29:01.033","modified":"2026-06-17T00:39:53.253","status":"Modified","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 `&#xNNanything;` gets parsed to what it could and leaves the rest behind, resulting in just `anything;` being left.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/chjj/marked/pull/592","https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523","https://nodesecurity.io/advisories/101","https://github.com/chjj/marked/pull/592","https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523"],"products":["marked_project:marked"],"source":"nvd","synced_at":"2026-10-19T20:50:40.212176939+00:00"},"epss":{"cve":"CVE-2016-10531","score":0.0144,"percentile":0.73186,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vfvf-mqq8-rwqc","url":"https://osv.dev/vulnerability/GHSA-vfvf-mqq8-rwqc","summary":"Sanitization bypass using HTML Entities in marked","modified":"2023-11-08T03:58:10.903030Z","packages":[{"ecosystem":"npm","name":"marked","purl":"pkg:npm/marked","ranges":["<0.3.6"],"fixed":["0.3.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}