Cross-site scripting in Shaarli - #VU140699

 

Cross-site scripting in Shaarli - #VU140699

Published: August 1, 2026


Vulnerability identifier: #VU140699
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
Shaarli

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary JavaScript in the victim's browser.

The vulnerability exists due to cross-site scripting in the general.header_link configuration setting rendered by the page header template when handling a stored home link value in the title link href. A remote privileged user can store a javascript: URI in the configuration to execute arbitrary JavaScript in the victim's browser.

User interaction is required, as a visitor must click the title or logo link for the payload to execute.


Remediation

Install security update from vendor's website.

Sources