{"id":"DEBIAN-CVE-2026-50190","details":"Shaarli is a personal bookmarking service. Versions prior to 0.16.3 are vulnerable to stored XSS in `application/front/controller/visitor/BookmarkListController.php`. The `permalink` handler concatenates the raw `$bookmark-\u003egetTitle()` into the `pagetitle` template variable and the RainTPL template emits it into the document `\u003ctitle\u003e` element without HTML escaping. A bookmark title containing `\u003c/title\u003e\u003cscript\u003e...\u003c/script\u003e` closes the document title early and the injected script executes in the Shaarli origin for any visitor of `/shaare/{hash}`. Shaarli's metadata fetcher copies a remote page's `\u003ctitle\u003e` text verbatim into the local bookmark title, so an attacker who hosts an attacker-controlled URL and convinces an administrator to bookmark it plants the payload with no further interaction — and the resulting permalink fires for every visitor including the administrator on first save, providing a one-shot administrator account takeover. Version 0.16.3 fixes the issue.","modified":"2026-09-19T22:47:37.169336067Z","published":"2026-08-20T19:16:53.907Z","upstream":["CVE-2026-50190"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-50190"}],"affected":[{"package":{"name":"shaarli","ecosystem":"Debian:12","purl":"pkg:deb/debian/shaarli?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.1+dfsg-8","0.12.1+dfsg-8+deb12u1","0.12.1+dfsg-8+deb12u2","0.13.0+dfsg-1","0.13.0+dfsg-2","0.13.0+dfsg-3","0.13.0+dfsg-4","0.13.0+dfsg-5","0.14.0+dfsg-1","0.14.0+dfsg-2","0.15.0+dfsg-1","0.16.1+dfsg-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50190.json"}},{"package":{"name":"shaarli","ecosystem":"Debian:13","purl":"pkg:deb/debian/shaarli?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.0+dfsg-1","0.14.0+dfsg-2","0.14.0+dfsg-2+deb13u1","0.15.0+dfsg-1","0.16.1+dfsg-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50190.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}