Skip to content

Cross-Site Scripting in harp

Moderate severity GitHub Reviewed Published Sep 2, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023
Withdrawn This advisory was withdrawn on Jun 1, 2021

Package

npm harp (npm)

Affected versions

>= 0

Patched versions

None

Description

Withdrawn

This advisory has been withdrawn per request from the maintainer. Given harp is a static webserver, a XSS type of vulnerability is not appropriate.

Original advisory description

All versions of harp are vulnerable to Cross-Site Scripting. Due to misconfiguration of its rendering engine, harp does not sanitize the HTML output allowing attackers to run arbitrary JavaScript when processing malicious files.

Recommendation

No fix is currently available. Consider using an alternative module until a fix is made available.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 2, 2020
Withdrawn Jun 1, 2021
Last updated Jan 9, 2023

Severity

Moderate

EPSS score

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-cx7r-634m-2q2h

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.