{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-48822","published":"2026-06-17T20:17:23.060000Z","last_modified":"2026-06-18T17:16:31.583000Z","status":"Deferred","cvss":{"version":"3.1","score":5.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["shaarli"],"products":["shaarli/shaarli"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":35,"links":{"html_es":"/es/cve/CVE-2026-48822/","html_en":"/en/cve/CVE-2026-48822/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-48822","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-48822"},"untrusted":{"vendor_name":"shaarli","product_name":"Shaarli","desc_en":"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.","affected":[{"untrusted_vendor":"shaarli","untrusted_product":"Shaarli","versions":[]}],"references":[{"url":"https://github.com/shaarli/Shaarli/releases/tag/v0.16.2","tags":[]},{"url":"https://github.com/shaarli/Shaarli/security/advisories/GHSA-2hgr-63wv-x462","tags":[]}]}}