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

Goal: 1000 CNY · Raised: 1359 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 Community Shaarli是Shaarli Community社区开源的一款个人书签管理工具。 Shaarli Community Shaarli 0.16.3之前版本存在跨站脚本漏洞,该漏洞源于在文件application/front/controller/visitor/BookmarkListController.php中,permalink处理程序将原始书签标题拼接到pagetitle模板变量,且RainTPL模板未进行HTML转义,可能导致存储型跨站脚本攻击,攻击者可通过

CVSS 8.6 · High EPSS 0.44% · P36

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
Vulnerability Title
Shaarli Community Shaarli 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Shaarli Community Shaarli是Shaarli Community社区开源的一款个人书签管理工具。 Shaarli Community Shaarli 0.16.3之前版本存在跨站脚本漏洞,该漏洞源于在文件application/front/controller/visitor/BookmarkListController.php中,permalink处理程序将原始书签标题拼接到pagetitle模板变量,且RainTPL模板未进行HTML转义,可能导致存储型跨站脚本攻击,攻击者可通过
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

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 Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Success marker: VULNERABLE: unescaped bookmark title in <title> — injected <script> present in raw HTML: </title><script>document.write("PROOF_aef707c72ac85250")</script>
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 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