CVE-2021-39199
Summary
| CVE | CVE-2021-39199 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-09-07 19:15:00 UTC |
| Updated | 2021-09-14 16:11:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|
| Application |
Remark |
Remark-html |
All |
All |
All |
All |
References
| Reference | Source | Link | Tags |
|---|
| Release 14.0.1 · remarkjs/remark-html · GitHub |
MISC |
github.com |
|
| Unsafe defaults in `remark-html` · Advisory · remarkjs/remark-html · GitHub |
CONFIRM |
github.com |
|
| remark-html - npm |
MISC |
www.npmjs.com |
|
| Fix to sanitize by default · remarkjs/remark-html@b75c9dd · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 981154 Nodejs (npm) Security Update for remark-html (GHSA-9q5w-79cv-947m)