Shaarli has Stored Cross-Site Scripting (XSS) via Tags Search
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Shaarli (shaarli) Fixed in 0.16.2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-48823
References
More shaarli vulnerabilities
- TI-2026-36949 Shaarli vulnerable to stored XSS via raw bookmark title in document <title> element on public permalink page CVSS 4.0HIGH 8.6
- TI-2025-34947 Shaarli allows reflected XSS via searchtags parameter CVSS 3.1HIGH 7.1
- TI-2026-36091 Shaarli has Stored Cross-Site Scripting (XSS) via Markdown Reference Links CVSS 3.1MEDIUM 5.8
- TI-2026-73442 Server-side request forgery in Shaarli thumbnail retrieval CVSS 4.0MEDIUM 5.1
- TI-2026-36090 Shaarli: DOM-based Cross-Site Scripting (XSS) in Thumbnail Synchronizer CVSS 3.1MEDIUM 5.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences