Impact
The flaw allows an authenticated user to embed arbitrary JavaScript inside bookmark tags. The malicious code is stored in the database and later executed whenever a user triggers the tag filtering feature on the homepage, resulting in client‑side script execution. This is an unsafe handling of user input in a dynamically rendered element (CWE‑79).
Affected Systems
Shaarli versions 0.16.1 and all earlier releases are vulnerable; the issue was fixed in 0.16.2.
Risk and Exploitability
The CVSS score of 4.8 classifies the vulnerability as moderate. The EPSS score of less than 1% indicates a very low probability of exploitation at the time of analysis, and the vulnerability is not listed in the CISA KEV catalog. An authenticated user can create a malicious bookmark, and the payload will be displayed to any other user who uses the filter by that tag. No additional conditions beyond authentication and bookmark creation are required to exploit the weakness.
OpenCVE Enrichment