Advisory

GHSA-8p5p-ff7x-hw7q

Also known as: CVE-2018-3747

Summary

Cross-Site Scripting in public

Details

Versions of public prior to 0.1.4 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize filenames, allowing attackers to execute arbitrary JavaScript in the victim's browser through files with names containing malicious code.

Recommendation

Upgrade to version 0.1.4 or later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-10-10 17:27 UTC
Modified
2023-11-08 04:00 UTC

Affected packages and fixes

public

npm · All systems

Affected

  • introduced 0, fixed 0.1.4 (semver)

Fixed versions

0.1.4

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