BIT-discourse-2026-27166

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/discourse/BIT-discourse-2026-27166.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-discourse-2026-27166
Aliases
Published
2026-03-27T07:09:46.264Z
Modified
2026-04-02T13:26:22.557781221Z
Summary
Discourse vulnerable to HTML injection via prohibited iframe URLs
Details

Discourse is an open source discussion platform. Prior to versions 2026.3.0, 2026.2.1 and 2026.1.2, insufficient cleanup in the default Codepen allowed iframes value allows an attacker to trick a user into changing the URL of the main page. This issue has been fixed in versions 2026.3.0, 2026.2.1 and 2026.1.2. To workaround this issue, remove Codepen from the list of allowed iframes.

Database specific
{
    "severity": "Medium",
    "cpes": [
        "cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*"
    ]
}
References

Affected packages

Bitnami / discourse

Package

Name
discourse
Purl
pkg:bitnami/discourse

Severity

  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
2026.1.0
Fixed
2026.1.2
Introduced
2026.2.0
Fixed
2026.2.1
Introduced
2026.3.0
Fixed
2026.3.0

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/discourse/BIT-discourse-2026-27166.json"