
CVE catalog
CVE-2026-48822
Shaarli is a personal bookmarking service. Versions 0.16.1 and prior contain a stored Cross-Site Scripting (XSS) vulnerability in the Markdown-to-HTML conversion process used in the Bookmark Descripti
- Severity
- Medium · CVSS 5.8
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.12% · Oct 25, 2026
Shaarli is a personal bookmarking service. Versions 0.16.1 and prior contain a stored Cross-Site Scripting (XSS) vulnerability in the Markdown-to-HTML conversion process used in the Bookmark Description field. An authenticated user can inject a malicious javascript: URI inside a Markdown link. The vulnerability originates in the filterProtocols method within BookmarkMarkdownFormatter.php.This method attempts to sanitize Markdown links by filtering dangerous protocols (such as javascript:) before rendering. It uses the following regular expression: (#]\((.*?)\)#is). This regex is designed to detect inline Markdown links, but it fails to detect Markdown reference-style links because reference-style links are resolved by the Markdown parser after preprocessing. The filterProtocols method never inspects the actual URL used in these references and as a result, an attacker can supply a javascript: URI inside a reference definition. This issue has been fixed in version 0.16.2.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | shaarli | sid | 0.16.1+dfsg-1 | vulnerable |
| Debian | shaarli | trixie | 0.14.0+dfsg-2+deb13u1 | vulnerable |
| Debian | shaarli | trixie-security | 0.14.0+dfsg-2+deb13u1 | vulnerable |
| Debian | shaarli | bookworm | 0.12.1+dfsg-8+deb12u2 | vulnerable |
| Debian | shaarli | bookworm-security | 0.12.1+dfsg-8+deb12u2 | vulnerable |
| Cpe | shaarli | Not reported | Not reported | vulnerable |
| Ubuntu | shaarli | 16.04 | 0.0.42~beta~dfsg1-2 | vulnerable |
| Ubuntu | shaarli | 16.04 | 0.0.42~beta~dfsg1-2ubuntu1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | shaarli | source | sid | (unfixed) | not yet assigned | Not reported | [1140346] |
| Debian | shaarli | source | trixie | (unfixed) | not yet assigned | Not reported | [1140346] |
| Debian | shaarli | source | bookworm | (unfixed) | not yet assigned | Not reported | [1140346] |
Notes
[bookworm] shaarli: Minor issue, XSS
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [shaarli]Affected
Details (4)
0.12.1+dfsg-8+deb12u2· all · bookwormAffected
nvd · shaarli · debian · bookworm; nvd · shaarli · debian · 12
0.12.1+dfsg-8+deb12u2· all · bookwormAffected
nvd · shaarli · debian · bookworm; nvd · shaarli · debian · 12
0.12.1+dfsg-8+deb12u2· all · bookworm-securityAffected
nvd · shaarli · debian · bookworm; nvd · shaarli · debian · 12
0.12.1+dfsg-8+deb12u2· all · bookworm-securityAffected
nvd · shaarli · debian · bookworm; nvd · shaarli · debian · 12
[Debian 13 (Trixie)]
- [shaarli]Affected
Details (4)
0.14.0+dfsg-2+deb13u1· all · trixieAffected
nvd · shaarli · debian · 13
0.14.0+dfsg-2+deb13u1· all · trixieAffected
nvd · shaarli · debian · 13
0.14.0+dfsg-2+deb13u1· all · trixie-securityAffected
nvd · shaarli · debian · 13
0.14.0+dfsg-2+deb13u1· all · trixie-securityAffected
nvd · shaarli · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-48822]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-48822]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-48822]
- [https://security-tracker.debian.org/tracker/CVE-2026-48822]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]