p PatchFirst

CVE-2016-10531

CVE-2016-10531

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.1 · Medium · EPSS 1.4% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • marked node module

    Versions
    • <=0.3.5: Affected

    No fix published

  • node-marked Debian:12

    Affected ranges
    • ECOSYSTEM: < 0.3.6+dfsg-1

    Update to 0.3.6+dfsg-1

  • node-marked Debian:13

    Affected ranges
    • ECOSYSTEM: < 0.3.6+dfsg-1

    Update to 0.3.6+dfsg-1

  • node-marked Debian:14

    Affected ranges
    • ECOSYSTEM: < 0.3.6+dfsg-1

    Update to 0.3.6+dfsg-1

  • marked npm

    Affected ranges
    • SEMVER: < 0.3.6

    Update to 0.3.6

  • node-marked Ubuntu:16.04:LTS

    Versions
    • 0.3.2+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →