← Database

CVE-2026-50190

N/A CVSS: N/A Published: 2026-08-20 Modified: 2026-08-20

Description

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->getTitle()` into the `pagetitle` template variable and the RainTPL template emits it into the document `` element without HTML escaping. A bookmark title containing `` 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 `` 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.</p></div> <div class="ds"><h2>Affected Platforms</h2><div><span class="ptag">Unknown</span></div></div> <div class="ds"><h2>Weakness Type</h2><p>CWE-79</p></div> <div class="ds"><h2>References</h2><ul style="list-style:none;display:flex;flex-direction:column;gap:0.4rem;"><li><a href="https://github.com/shaarli/Shaarli/security/advisories/GHSA-xm98-h5jj-64xv" target="_blank" rel="noopener">https://github.com/shaarli/Shaarli/security/advisories/GHSA-xm98-h5jj-64xv</a></li><li><a href="https://github.com/shaarli/Shaarli/security/advisories/GHSA-xm98-h5jj-64xv" target="_blank" rel="noopener">https://github.com/shaarli/Shaarli/security/advisories/GHSA-xm98-h5jj-64xv</a></li></ul></div> </div> <div class="wrap"><footer><span>© 2025 Artfical DT</span><div style="display:flex;gap:1.2rem;"><a href="/privacy?lang=en">Privacy Policy</a><a href="https://artfical.com">artfical.com</a></div></footer></div> <script src="/__defend3r/badge.js" defer data-defend3r="1" data-position="br"></script></body></html>