PT-2026-69460 · Bludit · Bludit
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Bludit version 4.0.0-beta
Description
A stored cross-site scripting (XSS) issue allows a low-privileged authenticated user with the Author role to inject arbitrary JavaScript. This occurs when a crafted SVG file is uploaded as the site logo via the '/admin/ajax/logo-upload' endpoint in
bl-kernel/ajax/logo-upload.php. The system moves the uploaded file to the web root using the Filesystem::mv() function without calling sanitizeSVG() or transformImage(), despite SVG being included in the ALLOWED IMG EXTENSION and ALLOWED IMG MIMETYPES allow-lists. Consequently, a stored script tag within the SVG executes in the browser of any user who views the logo.Recommendations
As a temporary mitigation, restrict the use of the '/admin/ajax/logo-upload' endpoint or remove SVG from the
ALLOWED IMG EXTENSION and ALLOWED IMG MIMETYPES allow-lists.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Bludit