CVE-2026-48823: Shaarli - Stored XSS
- Cve: CVE-2026-48823
- Name: Shaarli - Stored XSS
- 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.
- Impact: Authenticated users can execute arbitrary JavaScript in other users' browsers, potentially leading to session hijacking or privilege abuse.
- Remediation: Upgrade to version 0.16.2 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: logged_in
- Requirements: Attacker must be an authenticated user to inject malicious tags
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N
- Epss score: 0.00115
- Epss percentile: 0.01578
- Assignee: [email protected]
- Published at: 2026-06-17T20:17:23Z
- Age in days: 160
- Modified at: 2026-06-18T14:17:28Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-48823
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/shaarli/Shaarli/releases/tag/v0.16.2 | nvd | |
| https://github.com/shaarli/Shaarli/security/advisories/GHSA-68qr-fvv8-6mc6 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| shaarli_project:shaarli | < 0.16.2 | no | cna_alias_text | /v1/products/shaarli_project/shaarli |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| shaarli/Shaarli | releases, security_advisory | yes | /v1/repositories/shaarli/Shaarli |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts