# CVE-2026-50190: Shaarli vulnerable to stored XSS via raw bookmark title in document <title> element on public permalink page

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-20T18:49:48.952Z
- Modified: 2026-10-26T10:10:00.140Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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 `<title>` element without HTML escaping. A bookmark title containing `</title><script>...</script>` 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 `<title>` 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.

(As written by CVE List.)

## Affected

- shaarli Shaarli: < 0.16.3

## References

- <https://github.com/shaarli/Shaarli/security/advisories/GHSA-xm98-h5jj-64xv> (exploit)

## Sources

- CVE List: [CVE-2026-50190](https://www.cve.org/CVERecord?id=CVE-2026-50190), CVE Terms of Use, modified 2026-08-20
- NVD: [CVE-2026-50190](https://nvd.nist.gov/vuln/detail/CVE-2026-50190), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-50190 · Whole record: https://cve.day/CVE-2026-50190.json · Rebuilt by cve.day 2026-11-25T22:59:34.688Z
