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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-91134— Discourse: Block post iframes whose encoded userinfo bypasses the allowed_iframes allowlist

Quick assessment

Affected
discourse discourse
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Discourse 是一个开源的讨论平台。在版本 2026.1.8、2026.6.3、2026.7.2 和 2026.8.0 之前,Discourse 的文章_sanitizer(帖子内容过滤器)允许通过存储型跨域 iframe 绕过 allowed_iframes 前缀策略,前提是 iframe 的 src 属性中包含编码的用户信息(userinfo)。_sanitizer_ 对解码后的内容进行验证,但其验证逻辑与存储的 iframe src 并不一致,导致浏览器可能解析由攻击者控制的 host,而白名单检查却将

CVSS 5.4 · Medium EPSS 0.22% · P11
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-91134

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
Discourse: Block post iframes whose encoded userinfo bypasses the allowed_iframes allowlist
Source: CVE Program / CVE List V5
Vulnerability Description
Discourse is an open-source discussion platform. Prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0, the Discourse post sanitizer allowed a stored cross-origin iframe to bypass the allowed_iframes prefix policy when the iframe src contained encoded userinfo. The sanitizer validated a decoded form differently from the stored iframe src, allowing the browser to interpret an attacker-controlled host while the allowlist check accepted the encoded URL as an allowed prefix. An authenticated user with posting privileges could persist the iframe in a post and cause attacker-controlled cross-origin content to be rendered. This issue is fixed in versions 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
discourse discourse < 2026.8.0 -

II. Public POCs for CVE-2026-91134

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-91134

请登录查看更多情报信息。

Other References for CVE-2026-91134 (6)

Same Patch Batch · discourse · 2026-09-24 · 9 CVEs total

CVE-2026-91122 8.7 HIGH Discourse: Chat MessageBus delivers read-restricted messages to unauthorized users
CVE-2026-91123 7.2 HIGH Discourse: Reject literal backslash path separators in iframe src traversal guard
CVE-2026-91133 6.5 MEDIUM Discourse: Escape LIKE metacharacters in upload paths to prevent disclosure
CVE-2026-91119 6.4 MEDIUM Discourse: Encode action_code_who in mention URLs
CVE-2026-91120 5.4 MEDIUM Discourse: Stored HTML injection in video notification emails
CVE-2026-91121 5.0 MEDIUM Discourse: Chat upload filenames rendered as raw HTML in excerpts
CVE-2026-91132 4.3 MEDIUM Discourse: Wildcard iframe origin allowlist bypass via authority separators
CVE-2026-84302 4.2 MEDIUM Discourse: Non-participant moderators can read, edit, and delete PM content through Discou

IV. Related Vulnerabilities

V. Comments for CVE-2026-91134

No comments yet


Leave a comment