Vulnerability

CVE-2026-48821

mediumCVSS 3.1 5.8Published 17 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /shaarli/Shaarli/releases/tag/v0.16.2
  • github.com /shaarli/Shaarli/security/advisories/GHSA-mw63-f9qj-c5h3

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning