Advisory

GHSA-68q3-7wjp-7q3j

Also known as: CVE-2020-4041

Summary

The filename of uploaded files vulnerable to stored XSS

Details

Impact

The filename of uploaded files was vulnerable to stored XSS. It is not possible to inject javascript code in the file name when creating/uploading the file. But, once created/uploaded, it can be renamed to inject the payload in it.

Additionally, the measures to prevent renaming the file to disallowed filename extensions could be circumvented.

Patches

This is fixed in Bolt 3.7.1.

References

Related issue: https://github.com/bolt/bolt/pull/7853

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-06-09 00:25 UTC
Modified
2026-07-08 05:59 UTC

Affected packages and fixes

bolt/bolt

Packagist · All systems

Affected

  • introduced 0, fixed 3.7.1 (ecosystem)

Fixed versions

3.7.1

Fix

The export has no generic command for this ecosystem.

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