BreachSpiderVerified, not vibes

CVE-2022-23641 in Discourse

Medium 6.5

Discourse is an open source discussion platform. In versions prior to 2.8.1 in the `stable` branch, 2.9.0.beta2 in the `beta` branch, and 2.9.0.beta2 in the `tests-passed` branch, users can trigger a Denial of Service attack by posting a streaming URL. Parsing Oneboxes in the background job trigger an infinite loop,...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.5
EPSS1.3%
EPSS percentile70th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Discourse Discourse < 2.8.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Discourse is an open source discussion platform. In versions prior to 2.8.1 in the `stable` branch, 2.9.0.beta2 in the `beta` branch, and 2.9.0.beta2 in the `tests-passed` branch, users can trigger a Denial of Service attack by posting a streaming URL. Parsing Oneboxes in the background job trigger an infinite loop, which cause memory leaks. This issue is patched in version 2.8.1 of the `stable` branch, 2.9.0.beta2 of the `beta` branch, and 2.9.0.beta2 of the `tests-passed` branch. As a workaround, disable onebox in admin panel completely or specify allow list of domains that will be oneboxed.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-23641
BreachSpider IDBS-2022-GLOBAL-313553-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published2022-02-15
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-835: CWE-835

Analysis AI-written, not human-reviewed

Discourse versions prior to 2.8.1 in the stable branch, 2.9.0.beta2 in the beta branch, and 2.9.0.beta2 in the tests-passed branch are vulnerable to a Denial of Service attack due to an infinite loop caused by parsing Oneboxes in the background job when a streaming URL is posted.

An attacker can exploit this vulnerability by posting a specially crafted streaming URL that triggers the parsing of Oneboxes in the background job, leading to an infinite loop and memory leaks.

Questions

What is CVE-2022-23641?

Discourse versions prior to 2.8.1 in the stable branch, 2.9.0.beta2 in the beta branch, and 2.9.0.beta2 in the tests-passed branch are vulnerable to a Denial of Service attack due to an infinite loop caused by parsing Oneboxes in the background job when a streaming URL is posted.

What is the CVSS score for CVE-2022-23641?

CVE-2022-23641 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.3%.

Is CVE-2022-23641 actively exploited?

No confirmed active exploitation of CVE-2022-23641 as of 2026-05-30.

How do I remediate CVE-2022-23641?

Priority: HIGH.

What systems are affected by CVE-2022-23641?

CVE-2022-23641 affects Discourse Discourse.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Discourse","product":"Discourse","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.