Medium severity · published Jun 17, 2026
CVE-2026-48821
Shaarli: DOM-based Cross-Site Scripting (XSS) in Thumbnail Synchronizer
5.8
CVSS
0.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
Attack vector
Local
Complexity
Low
Privileges
High
User interaction
Required
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SH
Shaarli · shaarli
< 0.16.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-48821
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-48821
github.com
https://github.com/shaarli/Shaarli/releases/tag/v0.16.2
github.com
https://github.com/shaarli/Shaarli/security/advisories/GHSA-mw63-f9qj-c5h3
More from Shaarli
8.6
CVE-2026-50190
Shaarli vulnerable to stored XSS via raw bookmark title in document <title> element on public permalink page
5.8
CVE-2026-48822
Shaarli has Stored Cross-Site Scripting (XSS) via Markdown Reference Links
5.4
CVE-2026-24476
Shaarli vulnerable to stored XSS via Suggested Tags
4.8
CVE-2026-48823
Shaarli has Stored Cross-Site Scripting (XSS) via Tags Search
4.7
CVE-2026-105263
Shaarli Admin Metadata Endpoint MetadataController.php MetadataController server-side request forgery
