Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Matthieusieben

#24008of 56,335
10Total CVSS
Vulnerabilities · 1
PT-2021-22454
10
2021-09-07
Unknown · Remark-Html · CVE-2021-39199
**Name of the Vulnerable Software and Affected Versions** remark-html versions prior to 13.0.2 remark-html versions prior to 14.0.1 **Description** The documentation of remark-html mentioned that it was safe by default, but in practice, the default was never safe and had to be opted into. This means user input was not sanitized, allowing arbitrary HTML to be passed through, leading to potential XSS attacks. **Recommendations** For versions prior to 13.0.2, update to version 13.0.2 or later. For versions prior to 14.0.1, update to version 14.0.1 or later. On older affected versions, pass `sanitize: true` to mitigate the issue, for example, by using `.use(remarkHtml, {sanitize: true})`.