High

The filename of uploaded files vulnerable to stored XSS

  • Disclosed: 09.06.2020
  • Updated: 11.10.2026 10:22

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

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package bolt/bolt < 3.7.1 3.7.1

References

CVSS score 7.4/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
Weakness (CWE)
CWE-79
Platform
Composer
Package
bolt/bolt
Disclosed
09.06.2020
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-68q3-7wjp-7q3j - CC BY 4.0

Vulnerability history: bolt/bolt

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (15) in the archive
Total entries
15
First → latest
11.2019 07.2025
Without a fix
5
Exploited in attacks
0

Severity breakdown

  • High 5
  • Medium 10

Disclosures per year

  1. 2019: 1
  2. 2020: 2
  3. 2021: 1
  4. 2022: 9
  5. 2023: 0
  6. 2024: 1
  7. 2025: 1
  8. 2026: 0
Severity:
  1. High · 8.8 CVE-2019-9185 < 3.6.5 3.6.5
  2. High · 8.8 CVE-2019-10874 >= 3.6.6, < 3.6.7 3.6.7
  3. High · 8.6 CVE-2020-4040 < 3.7.1 3.7.1
  4. The filename of uploaded files vulnerable to stored XSS this entry
    High · 7.4 CVE-2020-4041 < 3.7.1 3.7.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.