GHSA-f8rq-m28h-8hxjHighDisclosed before NVD

Cross-Site Scripting in htmr

Published
September 3, 2020
Last Modified
January 9, 2023

📋 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 products1

  • npm/htmr:< 0.8.7

🔗 References (3)