🛡️ CVE-2026-48822 on Ubuntu — shaarli
Description
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.
Distribution advisory
This page covers CVE-2026-48822 as tracked by Ubuntu, for the package shaarli. No fixed version has been recorded for this distribution yet.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs administrative privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability none.
Affected software
UBUNTU-CVE-2026-48822 is recorded against 1 package.
- shaarli
Timeline and source
Published on 17 June 2026 and last revised on 24 June 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| shaarli | — | — |
References
Similar Threats
- Unknown UBUNTU-CVE-2026-50190
- Unknown DEBIAN-CVE-2026-50190
- Unknown DEBIAN-CVE-2026-48821
- Unknown DEBIAN-CVE-2026-48822
- Unknown DEBIAN-CVE-2026-48823
More UBUNTU CVE 2026 advisories
Browse all of UBUNTU CVE 2026 in the advisory index.
- UBUNTU-CVE-2026-48801
- UBUNTU-CVE-2026-48805
- UBUNTU-CVE-2026-48806
- UBUNTU-CVE-2026-48807
- UBUNTU-CVE-2026-48808
- UBUNTU-CVE-2026-48817
- UBUNTU-CVE-2026-48818
- UBUNTU-CVE-2026-48821
- UBUNTU-CVE-2026-48823
- UBUNTU-CVE-2026-48827
- UBUNTU-CVE-2026-48829
- UBUNTU-CVE-2026-48831
- UBUNTU-CVE-2026-48832
- UBUNTU-CVE-2026-48840
- UBUNTU-CVE-2026-48842
- UBUNTU-CVE-2026-48843
Vulnerability Monitoring
Track new vulnerabilities in shaarli
UBUNTU-CVE-2026-48822 is rated CVSS 5.8 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.