Skip to content
OpenAdvisories
High GHSA-g9wg-wq4f-2x5w

Cross-Site Scripting in console-feed

Published Sep 3, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

Description

Versions of `console-feed` prior to 2.8.10 are vulnerable to Cross-Site Scripting (XSS). The package fails to properly escape the rendered output. If an application uses `console-feed` and a malicious JavaScript payload was passed to a `console.log('%_', payload)` call, the package would render HTML containing the malicious payload.

## Recommendation

Upgrade to version 2.8.10 or later.

Affected packages

EcosystemPackageAffectedFixedRecord
npm console-feed < 2.8.10 2.8.10 GHSA-g9wg-wq4f-2x5w

References