The filename of uploaded files vulnerable to stored XSS
Description
Published by the National Vulnerability Database
Jun 8, 2020
Reviewed
Jun 8, 2020
Published to the GitHub Advisory Database
Jun 9, 2020
Last updated
Jan 28, 2023
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: bolt/bolt#7853
References