Advisory

GHSA-f8rq-m28h-8hxj

Also known as: None

Summary

Cross-Site Scripting in htmr

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-03 15:50 UTC
Modified
2020-08-31 19:01 UTC

Affected packages and fixes

htmr

npm · All systems

Affected

  • introduced 0, fixed 0.8.7 (semver)

Fixed versions

0.8.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences