Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY4cTMtN3dqcC03cTNq

The filename of uploaded files vulnerable to stored XSS

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

Permalink: https://github.com/advisories/GHSA-68q3-7wjp-7q3j
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY4cTMtN3dqcC03cTNq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 4 years ago
Updated: about 1 year ago


CVSS Score: 7.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N

Identifiers: GHSA-68q3-7wjp-7q3j, CVE-2020-4041
References: Repository: https://github.com/bolt/bolt
Blast Radius: 17.5

Affected Packages

packagist:bolt/bolt
Dependent packages: 25
Dependent repositories: 232
Downloads: 204,758 total
Affected Version Ranges: < 3.7.1
Fixed in: 3.7.1
All affected versions: 0.8.4, 0.8.5, 0.9.5, 0.9.10, 1.0.0, 1.0.5, 1.1.2, 1.1.4, 1.2.1, 1.3.0, 1.4.0, 1.4.3, 1.5.1, 1.5.6, 1.6.0, 1.6.2, 1.6.3, 1.6.9, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.2.10, 2.2.11, 2.2.13, 2.2.14, 2.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