Cross-site scripting in Shaarli - #VU140699
Published: August 1, 2026
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.