Overview
- Description
- remark-html is an open source nodejs library which compiles Markdown to HTML. In affected versions the documentation of remark-html has mentioned that it was safe by default. In practice the default was never safe and had to be opted into. That is, user input was not sanitized. This means arbitrary HTML can be passed through leading to potential XSS attacks. The problem has been patched in 13.0.2 and 14.0.1: `remark-html` is now safe by default, and the implementation matches the documentation. On older affected versions, pass `sanitize: true` if you cannot update.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 6.1
- Impact score
- 2.7
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Severity
- MEDIUM
CVSS 2.0
- Type
- Primary
- Base score
- 4.3
- Impact score
- 2.9
- Exploitability score
- 8.6
- Vector string
- AV:N/AC:M/Au:N/C:N/I:P/A:N
Weaknesses
- security-advisories@github.com
- CWE-79
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:remark:remark-html:*:*:*:*:*:node.js:*:*", "vulnerable": true, "matchCriteriaId": "90DE1DEF-8004-44A1-AB3F-8D17332D736D", "versionEndExcluding": "13.0.2" }, { "criteria": "cpe:2.3:a:remark:remark-html:*:*:*:*:*:node.js:*:*", "vulnerable": true, "matchCriteriaId": "DBFC237B-016F-485A-9C0E-3040E1CA4E70", "versionEndExcluding": "14.0.1", "versionStartIncluding": "14.0.0" } ], "operator": "OR" } ] } ]