HackerOne marked node module
En bref
- Source
- NVD
- EPSS
- EPSS 1.44 % · centile 73 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- hackerone
- Statut NVD
- 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.
Faiblesses (CWE)
- CWE-79 — Injection de code indirecte (XSS)
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| 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) |
Avis
- GHSA-vfvf-mqq8-rwqc — Sanitization bypass using HTML Entities in marked
Références européennes
- ENISA EUVD · EUVD-2019-0347
- GCVE · GCVE-0-2016-10531
Avis du CERT-FR
- CERTFR-2022-AVI-266 — Multiples vulnérabilités dans IBM WebSphere Service Registry and Repository · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*≤ 0.3.5
Produits affectés
| Produit | 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 |