CVE-2022-46162

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-46162
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-46162.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-46162
Aliases
  • GHSA-8c87-xpqv-c7mp
Published
2022-11-30T00:00:00Z
Modified
2025-11-28T05:03:21.939720Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Discourse BBCode plugin vulnerable to arbitrary CSS injection
Details

discourse-bbcode is the official BBCode plugin for Discourse. Prior to commit 91478f5, CSS injection can occur when rendering content generated with the discourse-bccode plugin. This vulnerability only affects sites which have the discourse-bbcode plugin installed and enabled. This issue is patched in commit 91478f5. As a workaround, ensure that the Content Security Policy is enabled and monitor any posts that contain bbcode.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-74"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46162.json"
}
References

Affected packages

Git / github.com/discourse/discourse-bbcode

Affected ranges

Type
GIT
Repo
https://github.com/discourse/discourse-bbcode
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-46162.json"