InfraGuard

CVE-2026-50190

Shaarli vulnerable to stored XSS via raw bookmark title in document <title> element on public permalink page

8.6 CVSS 4.0EPSS 0.4%

Description d’origine

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.

Logiciels concernés

Détails

Publication
2026-08-21
Dernière modification
2026-08-21
Vecteur CVSS
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
CWE
CWE-79
EPSS (probabilité d’exploitation à 30 jours)
0.44% (percentile 38)

Références

Suivez ces versions sur vos propres serveurs

InfraGuard collecte les versions logicielles installées sur chaque serveur et signale celles qui présentent des vulnérabilités connues. Auto-hébergé : rien ne quitte votre réseau.

Récapitulatif hebdomadaire des vulnérabilités exploitées

Les ajouts au KEV qui comptent pour les serveurs auto-hébergés, une fois par semaine. Aucun autre e-mail.

Ce produit utilise des données de l’API du NVD, mais n’est ni approuvé ni certifié par le NVD. CVE® est une marque déposée de The MITRE Corporation ; les enregistrements CVE sont utilisés conformément aux conditions d’utilisation du CVE Program.