Read the docs
TI-2026-36949 Aliases CVE-2026-50190

Shaarli vulnerable to stored XSS via raw bookmark title in document <title> element on public permalink page

Priority HIGH 72CWE-79Published · Updated

Key facts

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

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

Summary

Shaarli is a personal bookmarking service. Versions prior to 0.16.3 are vulnerable to stored XSS in `application/front/controller/visitor/BookmarkListController.php`. The `permalink` handler concatenates the raw `$bookmark->getTitle()` into the `pagetitle` template variable and the RainTPL template emits it into the document `<title>` element without HTML escaping. A bookmark title containing `</title><script>...</script>` closes the document title early and the injected script executes in the Shaarli origin for any visitor of `/shaare/{hash}`. Shaarli's metadata fetcher copies a remote page's `<title>` text verbatim into the local bookmark title, so an attacker who hosts an attacker-controlled URL and convinces an administrator to bookmark it plants the payload with no further interaction — and the resulting permalink fires for every visitor including the administrator on first save, providing a one-shot administrator account takeover. Version 0.16.3 fixes the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00436 38th percentileScored 2026-11-07
Fix Fixed Shaarli (shaarli): 0.16.3

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.30.16.3Patch availableCNA
  • Shaarli Vendorshaarli Affected before 0.16.3 Fixed in 0.16.3 Patch available CNA

Remediation

  • Fix · CNA Shaarli (shaarli) Fixed in 0.16.3

Timeline

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

References

  • TI-2025-34947 Shaarli allows reflected XSS via searchtags parameter CVSS 3.1HIGH 7.1
  • TI-2026-36091 Shaarli has Stored Cross-Site Scripting (XSS) via Markdown Reference Links CVSS 3.1MEDIUM 5.8
  • 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