Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-50190

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-50190

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-50190

shaarli

Source reference: /affected/0/package/name

Affected versions
0.12.1+dfsg-8

Source reference: /affected/0/versions

0.12.1+dfsg-8+deb12u1

Source reference: /affected/0/versions

0.12.1+dfsg-8+deb12u2

Source reference: /affected/0/versions

0.13.0+dfsg-1

Source reference: /affected/0/versions

0.13.0+dfsg-2

Source reference: /affected/0/versions

0.13.0+dfsg-3

Source reference: /affected/0/versions

0.13.0+dfsg-4

Source reference: /affected/0/versions

0.13.0+dfsg-5

Source reference: /affected/0/versions

0.14.0+dfsg-1

Source reference: /affected/0/versions

0.14.0+dfsg-2

Source reference: /affected/0/versions

0.15.0+dfsg-1

Source reference: /affected/0/versions

0.16.1+dfsg-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

shaarli

Source reference: /affected/1/package/name

Affected versions
0.14.0+dfsg-1

Source reference: /affected/1/versions

0.14.0+dfsg-2

Source reference: /affected/1/versions

0.14.0+dfsg-2+deb13u1

Source reference: /affected/1/versions

0.15.0+dfsg-1

Source reference: /affected/1/versions

0.16.1+dfsg-1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "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"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#57742 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement