Cross-site scripting in Shaarli - CVE-2026-50190

 

Cross-site scripting in Shaarli - CVE-2026-50190

Published: August 1, 2026


Vulnerability identifier: #VU140698
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2026-50190
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary JavaScript in the Shaarli origin.

The vulnerability exists due to cross-site scripting in the public permalink page title rendering in BookmarkListController and the RainTPL template when rendering a bookmark title into the document <title> element without HTML escaping. A remote attacker can supply a bookmark title containing crafted HTML script content to execute arbitrary JavaScript in the Shaarli origin. User interaction is required to visit the affected public permalink page, and the payload can be planted when an administrator bookmarks an attacker-controlled URL whose remote page title is stored verbatim.


Affected software

Shaarli

How to mitigate CVE-2026-50190

Install security update from vendor's website.

Shaarli - update to 0.16.3

External References

Related Security Bulletins