Description
ThingsBoard versions < 4.2.1 contain a stored cross-site scripting (XSS) vulnerability in the dashboard's Image Upload Gallery feature. An attacker can upload an SVG file containing malicious JavaScript, which may be executed when the file is rendered in the UI. This issue results from insufficient sanitization and improper content-type validation of uploaded SVG files.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')
Product status
Any version before 4.2.1
Credits
Tamil Mathi
References
github.com/thingsboard/thingsboard/releases/tag/v4.2.1
github.com/thingsboard/thingsboard/pull/13927
www.vulncheck.com/...sories/thingsboard-svg-image-stored-xss