GHSA-q22g-8fr4-qpj4
Regular Expression Denial of Service in remarkable
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | remarkable | < 1.7.2 | 1.7.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
lib/common/html_re.js in remarkable 1.7.1 allows Regular Expression Denial of Service (ReDoS) via a CDATA section.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-12041
- https://github.com/jonschlinkert/remarkable/issues/331
- https://github.com/jonschlinkert/remarkable/pull/335#issuecomment-515958379
- https://github.com/jonschlinkert/remarkable/commit/287dfbf22e70790c8b709ae37a5be0523597673c
- https://snyk.io/vuln/SNYK-JS-REMARKABLE-174639