CVE-2026-48821 Details
Description
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.
A DOM-based Cross-Site Scripting (XSS) vulnerability has been identified in Shaarli, a personal bookmarking service, in versions through 0.16.1. The issue arises in the Thumbnail Synchronizer feature, where malicious bookmark titles are injected into the DOM via an AJAX response without proper sanitization. This vulnerability is triggered when an administrator updates thumbnails, allowing for the execution of arbitrary JavaScript in the administrator's browser. The flaw originates from the backend thumbnail update endpoint, which returns unescaped bookmark titles in the JSON response. The frontend JavaScript then processes this data and updates the user interface, creating an opportunity for XSS exploitation.
Users can upgrade to Shaarli version 0.16.2 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 17, 2026CISA-ADP
Assessed Jun 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/shaarli/Shaarli/security/advisories/GHSA-mw63-f9qj-c5h3 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/shaarli/Shaarli/releases/tag/v0.16.2 | [email protected] | Release NotesVendor |
| https://github.com/shaarli/Shaarli/security/advisories/GHSA-mw63-f9qj-c5h3 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Shaarli | <= 0.16.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 18, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | New CVE Received | [email protected] |
Volerion