Read the docs
TI-2026-36091 Aliases CVE-2026-48822

Shaarli has Stored Cross-Site Scripting (XSS) via Markdown Reference Links

Priority MEDIUM 61CWE-79Published · Updated

Key facts

Attack vector
Local
Privileges required
High
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

Shaarli is a personal bookmarking service. Versions 0.16.1 and prior contain a stored Cross-Site Scripting (XSS) vulnerability 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. The vulnerability originates in the filterProtocols method within BookmarkMarkdownFormatter.php.This method attempts to sanitize Markdown links by filtering dangerous protocols (such as javascript:) before rendering. It uses the following regular expression: (#]\((.*?)\)#is). This regex is designed to detect inline Markdown links, but it fails to detect Markdown reference-style links because reference-style links are resolved by the Markdown parser after preprocessing. The filterProtocols method never inspects the actual URL used in these references and as a result, an attacker can supply a javascript: URI inside a reference definition. This issue has been fixed in version 0.16.2.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0012 1st percentileScored 2026-11-07
Fix Fixed Shaarli (shaarli): 0.16.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
shaarliShaarlibefore 0.16.20.16.2Patch availableCNA
  • Shaarli Vendorshaarli Affected before 0.16.2 Fixed in 0.16.2 Patch available CNA

Remediation

  • Fix · CNA Shaarli (shaarli) Fixed in 0.16.2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-48822

References

  • TI-2026-36949 Shaarli vulnerable to stored XSS via raw bookmark title in document <title> element on public permalink page CVSS 4.0HIGH 8.6
  • TI-2025-34947 Shaarli allows reflected XSS via searchtags parameter CVSS 3.1HIGH 7.1
  • TI-2026-73442 Server-side request forgery in Shaarli thumbnail retrieval CVSS 4.0MEDIUM 5.1
  • TI-2026-36092 Shaarli has Stored Cross-Site Scripting (XSS) via Tags Search CVSS 3.1MEDIUM 4.8
  • TI-2026-36090 Shaarli: DOM-based Cross-Site Scripting (XSS) in Thumbnail Synchronizer CVSS 3.1MEDIUM 5.8

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences