Skip to content
Heist/ feed
Back to feed
High

shaarli — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-50190

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.

Products
shaarli
Affected 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.14.0+dfsg-2+deb13u1, 0.15.0+dfsg-1, 0.16.1+dfsg-1
Fixed versions
Not specified
CVEs
CVE-2026-50190
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:38 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-50190

core-osv · Original source

Published 20 Aug 2026, 19:16 UTC

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.

osv:DEBIAN-CVE-2026-50190

shaarli

Fixed versions: Not specified

shaarli

Fixed versions: Not specified

Complete source record
{
  "id": "3c2b22f81cf12a341b97d024381e723083c4a8a57fee1f722b1892ecfe517fa9",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-50190",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-50190",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-50190",
    "products": [
      {
        "name": {
          "value": "shaarli",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.12.1+dfsg-8",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.12.1+dfsg-8+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.12.1+dfsg-8+deb12u2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0+dfsg-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0+dfsg-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0+dfsg-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.0+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.0+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.15.0+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.16.1+dfsg-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "shaarli",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.14.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.14.0+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.14.0+dfsg-2+deb13u1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.15.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.16.1+dfsg-1",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-50190",
      "aliases": [
        "DEBIAN-CVE-2026-50190"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "shaarli",
            "purl": "pkg:deb/debian/shaarli?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50190.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "shaarli",
            "purl": "pkg:deb/debian/shaarli?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50190.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-27T09:47:29.658037173Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-50190"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-50190"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-50190",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460948,
  "published_at": "2026-08-20T19:16:53.907+00:00"
}