Vulnerability · Published Jun 8, 2020 · Assigned by GitHub_M

CVE-2020-4041The filename of uploaded files vulnerable to stored XSS in Bolt CMS

High 7.4

In plain English

A high-severity cross-site scripting in bolt from bolt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)2.1%top 18.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

In Bolt CMS before version 3.7.1, 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. This is fixed in Bolt 3.7.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistbolt/bolt3.7.1GHSA-68q3-7wjp-7q3j

Affected products (as reported)

VendorProductVersions
bolt bolt < 3.7.1

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N

References