Skip to content
Heist/ feed
Back to feed
Medium

Partial denial of service via inline oneboxes in Discourse

Type: advisorySources: OSV

Discourse is an open source platform for community discussion. In affected versions the endpoint for generating inline oneboxes for URLs wasn't enforcing limits on the number of URLs that it accepted, allowing a malicious user to inflict denial of service on some parts of the app. This vulnerability is only exploitable by authenticated users. This issue has been patched in the latest stable, beta and tests-passed versions of Discourse. Users are advised to upgrade. Users unable to upgrade should turn off the `enable inline onebox on all domains` site setting and remove all entries from the `allowed inline onebox domains` site setting.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-53851
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 16:28 UTC · Revision 1

Source evidence

Partial denial of service via inline oneboxes in Discourse

core-osv · Original source

Published 4 Feb 2025, 21:16 UTC

Discourse is an open source platform for community discussion. In affected versions the endpoint for generating inline oneboxes for URLs wasn't enforcing limits on the number of URLs that it accepted, allowing a malicious user to inflict denial of service on some parts of the app. This vulnerability is only exploitable by authenticated users. This issue has been patched in the latest stable, beta and tests-passed versions of Discourse. Users are advised to upgrade. Users unable to upgrade should turn off the `enable inline onebox on all domains` site setting and remove all entries from the `allowed inline onebox domains` site setting.

osv:CVE-2024-53851
Complete source record
{
  "id": "d82e72ed0b11ea3496ffa3505369a5c2fba9ba004c13a4003d85073f7e1c2f48",
  "url": "https://osv.dev/vulnerability/CVE-2024-53851",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Partial denial of service via inline oneboxes in Discourse",
    "summary": "Discourse is an open source platform for community discussion. In affected versions the endpoint for generating inline oneboxes for URLs wasn't enforcing limits on the number of URLs that it accepted, allowing a malicious user to inflict denial of service on some parts of the app. This vulnerability is only exploitable by authenticated users. This issue has been patched in the latest stable, beta and tests-passed versions of Discourse. Users are advised to upgrade. Users unable to upgrade should turn off the `enable inline onebox on all domains` site setting and remove all entries from the `allowed inline onebox domains` site setting.",
    "evidence": "osv:CVE-2024-53851",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-53851",
      "aliases": [
        "BIT-discourse-2024-53851",
        "CVE-2024-53851",
        "GHSA-49rv-574x-wgpc"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/discourse/discourse",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c5f9a300d8ef7ad6e65b49705969c4bab231dc04"
                },
                {
                  "fixed": "416ec83ae57924d721e6e374f4cda78bd77a4599"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "stable: <= 3.3.2"
                      },
                      {
                        "last_affected": "stable: <= 3.3.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "beta: <= 3.4.0.beta3"
                      },
                      {
                        "last_affected": "beta: <= 3.4.0.beta3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "tests-passed: <= 3.4.0.beta3"
                      },
                      {
                        "last_affected": "tests-passed: <= 3.4.0.beta3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "416ec83ae57924d721e6e374f4cda78bd77a4599"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.4.0-beta1",
            "3.4.0-beta2",
            "3.4.0-beta3",
            "beta: <= 3.4.0.beta3",
            "stable: <= 3.3.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53851.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.288621474Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53851.json",
        "https://github.com/discourse/discourse/security/advisories/GHSA-49rv-574x-wgpc",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-53851",
        "https://github.com/discourse/discourse/commit/416ec83ae57924d721e6e374f4cda78bd77a4599"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53851.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-53851",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487142,
  "published_at": "2025-02-04T21:16:42.089+00:00"
}