Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
shaarli Shaarli
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Shaarli 是一款个人书签服务。0.16.3 之前的版本在 中存在存储型跨站脚本(Stored XSS)漏洞。 处理器将 返回的原始标题内容直接拼接到 模板变量中,而 RainTPL 模板引擎会将该变量未经 HTML 转义直接输出到文档的 元素中。如果书签标题中包含类似 的内容,会导致文档标题被提前闭合,进而使得注入的脚本在 Shaarli 的原始上下文中执行。任何访问 的用户都会受到影响。 Shaarli 的元数据获取功能会将远程网页的 文本原样复制到本地书签的标题字段中。因此,攻击者只需托管一个由自己控制的

CVSS 8.6 · High EPSS 0.26% · P17

Affected Version Matrix 1

VendorProduct Version RangeStatus
shaarli Shaarli < 0.16.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-50190

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Shaarli vulnerable to stored XSS via raw bookmark title in document <title> element on public permalink page
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
shaarli Shaarli < 0.16.3 -

II. Public POCs for CVE-2026-50190

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6000 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-50190

登录查看更多情报信息。

Vendor Advisories for CVE-2026-50190 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-50190

No comments yet


Leave a comment