GHSA-f8rq-m28h-8hxj
high
Cross-Site Scripting in htmr
- Severity
- high rating by GitHub
- Published
- Last changed
Description
Versions of htmr prior to 0.8.7 are vulnerable to Cross-Site Scripting (XSS). The package uses innerHTML to unescape HTML entities. This may lead to DOM-based XSS through HTML-encoded XSS payloads. This may allow an attacker to execute arbitrary JavaScript in a victim's browser.
Recommendation
Upgrade to version 0.8.7 or later.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| htmr (npm) | before 0.8.7 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-f8rq-m28h-8hxj changed 2020-08-31 | CC-BY-4.0 |