Incorrect Behavior Order: Validate Before Canonicalize in Discourse - CVE-2026-91134
Published: October 28, 2026
Vulnerability details
The vulnerability allows a remote user to bypass iframe source restrictions and embed content from an attacker-controlled host in posts.
The vulnerability exists due to insufficient validation of encoded iframe source URLs in the Discourse post sanitizer when checking the allowed_iframes prefix policy. A remote user can submit a post containing an iframe source with encoded userinfo to bypass the allowlist and cause a browser to load content from an attacker-controlled host.