CVE catalog

CVE-2026-50190

shaarli: CVE-2026-50190

[CVE catalog]

Severity
High · CVSS 8.6CVSS: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
Published
Source
[NVD] · [CVE record]
EPSS
0.44% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianshaarlisid0.16.1+dfsg-1vulnerable
Debianshaarlitrixie0.14.0+dfsg-2+deb13u1vulnerable
Debianshaarlitrixie-security0.14.0+dfsg-2+deb13u1vulnerable
Debianshaarlibookworm0.12.1+dfsg-8+deb12u2vulnerable
Debianshaarlibookworm-security0.12.1+dfsg-8+deb12u2vulnerable
Ubuntushaarli16.040.0.42~beta~dfsg1-2vulnerable
Ubuntushaarli16.040.0.42~beta~dfsg1-2ubuntu1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianshaarlisourcesid(unfixed)not yet assignedNot reported[1140348]
Debianshaarlisourcetrixie(unfixed)not yet assignedNot reported[1140348]
Debianshaarlisourcebookworm(unfixed)not yet assignedNot reported[1140348]

[Debian bug #1140348]

Notes

[bookworm] shaarli: Minor issue, XSS

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [shaarli]Affected
    Details (4)
    • 0.12.1+dfsg-8+deb12u2 · all · bookworm

      Affected

      dsa · shaarli · debian · bookworm; dsa · shaarli · debian · 12

    • 0.12.1+dfsg-8+deb12u2 · all · bookworm

      Affected

      dsa · shaarli · debian · bookworm; dsa · shaarli · debian · 12

    • 0.12.1+dfsg-8+deb12u2 · all · bookworm-security

      Affected

      dsa · shaarli · debian · bookworm; dsa · shaarli · debian · 12

    • 0.12.1+dfsg-8+deb12u2 · all · bookworm-security

      Affected

      dsa · shaarli · debian · bookworm; dsa · shaarli · debian · 12

[Debian 13 (Trixie)]

  • [shaarli]Affected
    Details (4)
    • 0.14.0+dfsg-2+deb13u1 · all · trixie

      Affected

      dsa · shaarli · debian · 13

    • 0.14.0+dfsg-2+deb13u1 · all · trixie

      Affected

      dsa · shaarli · debian · 13

    • 0.14.0+dfsg-2+deb13u1 · all · trixie-security

      Affected

      dsa · shaarli · debian · 13

    • 0.14.0+dfsg-2+deb13u1 · all · trixie-security

      Affected

      dsa · shaarli · debian · 13

Observed:

References