Stored XSS Vulnerability in Shaarli Bookmarking Service
CVE-2026-48822
5.8MEDIUM
What is CVE-2026-48822?
Shaarli, a personal bookmarking service, is susceptible to a stored Cross-Site Scripting (XSS) vulnerability in its Markdown-to-HTML conversion process found in versions 0.16.1 and earlier. This flaw allows authenticated users to inject malicious 'javascript:' URIs within the Bookmark Description field. The issue arises from an inadequate sanitization routine in the filterProtocols method of BookmarkMarkdownFormatter.php, which fails to adequately inspect reference-style Markdown links. Consequently, attackers can exploit this gap to execute harmful scripts. The vulnerability has been addressed in version 0.16.2.
Affected Version(s)
Shaarli < 0.16.2
