{"id":"UBUNTU-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-02T19:36:24.724607324Z","published":"2026-08-20T19:16:00Z","upstream":["CVE-2026-50190"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-50190"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-50190"},{"type":"REPORT","url":"https://github.com/shaarli/Shaarli/security/advisories/GHSA-xm98-h5jj-64xv"}],"affected":[{"package":{"name":"shaarli","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/shaarli?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.42~beta~dfsg1-2","0.0.42~beta~dfsg1-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.0.42~beta~dfsg1-2ubuntu1","binary_name":"shaarli"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-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"},{"type":"Ubuntu","score":"medium"}]}