Cross-Site Scripting in htmr
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.
Summary
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](https://owasp.org/www-community/attacks/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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | htmr (npm) | before 0.8.7 | 0.8.7 | Patch available | GHSA-f8rq-m28h-8hxj |
- htmr (npm) Vendor— Affected before 0.8.7 Fixed in 0.8.7 Patch available GHSA-f8rq-m28h-8hxj
Remediation
- Fix · GHSA-f8rq-m28h-8hxj htmr (npm) Fixed in 0.8.7 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-f8rq-m28h-8hxj
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences