PT-2026-50543 · Shaarli · Shaarli
CVSS v3.1
5.8
Medium
| Vector | AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Shaarli versions prior to 0.16.2
Description
A DOM-based Cross-Site Scripting (XSS) issue exists in the Thumbnail Synchronizer feature. When an administrator executes the thumbnail update process, malicious bookmark titles are returned via an AJAX response and inserted into the Document Object Model (DOM) using
innerHTML without proper sanitization. This occurs because the ThumbnailsController::ajaxUpdate() method returns bookmark data using the 'raw' formatter, which includes unescaped titles in the JSON response. The client-side script thumbnails-update.js then processes this response to update the progress interface. Exploitation can lead to session hijacking, privilege escalation, backdoor injection, and full system compromise.Recommendations
Update to version 0.16.2.
Exploit
Fix
LPE
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Shaarli