Cross-site scripting in eLabFTW - #VU172460
Published: December 2, 2026
Vulnerability details
The vulnerability allows a remote user to execute scripts in another user's browser, potentially gaining persistent Sysadmin privileges and accessing stored credentials.
The vulnerability exists due to improper neutralization of user-controlled filenames in the image attachment viewer when it renders previously escaped filenames as HTML captions. A remote user can attach an image with a crafted filename to execute script with the permissions of a user who has access to the attachment and opens its thumbnail.