Shaarli has Stored Cross-Site Scripting (XSS) via Tags Search
Published Jun 17, 2026
4.8
MEDIUMCVSS 3.1
EPSS 0.16%
Description
Shaarli is a personal bookmarking service. Versions 0.16.1 and prior contain a stored Cross-Site Scripting (XSS) vulnerability in the tag filtering functionality of Shaarli. An authenticated user can inject arbitrary JavaScript into the tags field when creating a bookmark (Shaare). The malicious payload is stored and later executed when users interact with the "Filter by tag" search feature on the homepage. User-supplied input in the tags field is not properly sanitized or output-escaped before being rendered in the tag filtering interface. When a bookmark is created with a malicious payload inside the tag field, the payload is stored in the database. Later, when a user searches using the "Filter by tag" functionality on the homepage, the application renders matching tags dynamically. If the tag value contains HTML with JavaScript event handlers, it is injected into the DOM. This impacts anyone interacting with the "Filter by tag" search functionality, administrators and privileged users. This issue has been fixed in version 0.16.2.
Affected products
-
Affected
- < 0.16.2
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (3)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-37794 Advisory
- https://github.com/shaarli/Shaarli/releases/tag/v0.16.2 x_refsource_MISC
- https://github.com/shaarli/Shaarli/security/advisories/GHSA-68qr-fvv8-6mc6 exploitx_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-37794 | Advisory | |
| https://github.com/shaarli/Shaarli/releases/tag/v0.16.2 | x_refsource_MISC | |
| https://github.com/shaarli/Shaarli/security/advisories/GHSA-68qr-fvv8-6mc6 | exploitx_refsource_CONFIRM |
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub
No data