HackerOne marked node module
At a glance
- Source
- NVD
- EPSS
- EPSS 1.44 % · percentile 73 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- hackerone
- NVD 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.
Weaknesses (CWE)
- CWE-79 — Improper Neutralization of Input During Web Page Generation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-vfvf-mqq8-rwqc — Sanitization bypass using HTML Entities in marked
European references
- ENISA EUVD · EUVD-2019-0347
- GCVE · GCVE-0-2016-10531
CERT-FR advisories
- CERTFR-2022-AVI-266 — Multiples vulnérabilités dans IBM WebSphere Service Registry and Repository · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*≤ 0.3.5
Affected products
| Product | Versions |
|---|---|
| HackerOne · marked node module | affected <=0.3.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |