Shaarli: DOM-based Cross-Site Scripting (XSS) in Thumbnail Synchronizer
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Shaarli is a personal bookmarking service. Versions 0.16.1 and prior contain a DOM-based Cross-Site Scripting (XSS) vulnerability in the Thumbnail Synchronizer feature. When an administrator runs the thumbnail update process, malicious bookmark titles are returned via an AJAX response and inserted into the DOM using innerHTML without proper sanitization. The issue originates from the interaction between the backend thumbnail update endpoint and the frontend JavaScript responsible for rendering update progress. On the backend, the ThumbnailsController::ajaxUpdate method returns bookmark data formatted using the 'raw' formatter. This includes the unescaped bookmark title in the JSON response. On the client side, the script thumbnails-update.js processes this AJAX response and dynamically updates the progress interface. Administrators using the thumbnail synchronization feature are affected and exploitation could lead to session hijacking, privilege escalation, backdoor injection and full compromise. This issue has been fixed in version 0.16.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Shaarli (shaarli) Fixed in 0.16.2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-48821
References
More shaarli vulnerabilities
- TI-2026-36949 Shaarli vulnerable to stored XSS via raw bookmark title in document <title> element on public permalink page CVSS 4.0HIGH 8.6
- TI-2025-34947 Shaarli allows reflected XSS via searchtags parameter CVSS 3.1HIGH 7.1
- TI-2026-36091 Shaarli has Stored Cross-Site Scripting (XSS) via Markdown Reference Links CVSS 3.1MEDIUM 5.8
- TI-2026-73442 Server-side request forgery in Shaarli thumbnail retrieval CVSS 4.0MEDIUM 5.1
- TI-2026-36092 Shaarli has Stored Cross-Site Scripting (XSS) via Tags Search CVSS 3.1MEDIUM 4.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences