A security flaw has been discovered in Shaarli up to 0.16.3, specifically in the MetadataController function of the Admin Metadata Endpoint, allowing for server-side request forgery via manipulation of the url argument. The attack can be initiated remotely. Upgrading to version 0.16.4 fixes this issue, with the patch named 8ca4de8e7c932a684481f5fbb1229fe16de1f4d2.
CVE-2026-50190 is a stored XSS vulnerability in Shaarli, a personal bookmarking service, affecting versions prior to 0.16.3. An attacker can inject a malicious script by creating a bookmark with a specially crafted title, which is then executed when a user visits the permalink of that bookmark. This can lead to an administrator account takeover if an administrator bookmarks the malicious URL.
CVE-2026-48821 is a DOM-based Cross-Site Scripting (XSS) vulnerability in Shaarli's Thumbnail Synchronizer feature. An administrator running the thumbnail update process is affected, as malicious bookmark titles are returned via an AJAX response and inserted into the DOM using innerHTML without proper sanitization. The vulnerability allows attackers to inject malicious scripts, potentially leading to session hijacking, privilege escalation, backdoor injection, and full compromise of the system.
CVE-2026-48823 is a stored Cross-Site Scripting (XSS) vulnerability in Shaarli's tag filtering functionality. An authenticated user can inject arbitrary JavaScript into the tags field when creating a bookmark. The malicious payload is stored and later executed when users interact with the 'Filter by tag' search feature on the homepage. User-supplied input in the tags field is not properly sanitized or output-escaped before being rendered in the tag filtering interface.
CVE-2026-48822 is a stored Cross-Site Scripting (XSS) vulnerability in Shaarli, a personal bookmarking service. The vulnerability affects versions 0.16.1 and prior and is caused by a flaw in the Markdown-to-HTML conversion process used in the Bookmark Description field. An authenticated user can inject a malicious javascript: URI inside a Markdown link, allowing for potential XSS attacks. The vulnerability has been fixed in version 0.16.2. Users of affected versions should update to the latest version to prevent exploitation.