Read the docs

SQL injection in Discourse top topics RSS feed route

Priority MEDIUM 48CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-4274-qrr7-mqm6. Fix status from GitHub. Impact type from CWE-89.

Summary

Some top topic routes in Discourse are vulnerable to SQL injection, a flaw where special characters in input are not neutralized before being used in an SQL command (CWE-89). A remote attacker without privileges or user interaction can inject SQL through route parameters and read sensitive data from the database. Discourse 2.8.0.beta3 is the last known affected version.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

### Impact Some top topic routes are susceptible to SQL injection attacks. ### Patches This issue is patched in the latest beta and tests-passed versions of Discourse. ### Workarounds Ensure that only valid values are used for top route parameters.

Why it matters now

Fix Fixed discourse: >= 2.8.0.beta4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—discourse2.8.0.beta3>= 2.8.0.beta4Patch availableGHSA-4274-qrr7-mqm6
  • discourse Vendor— Affected 2.8.0.beta3 Fixed in >= 2.8.0.beta4 Patch available GHSA-4274-qrr7-mqm6

Remediation

Upgrade Discourse to version 2.8.0.beta4 or later, which fixes this issue. Until the upgrade, ensure that only valid values are used for top route parameters.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-4274-qrr7-mqm6 discourse Fixed in >= 2.8.0.beta4 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-4274-qrr7-mqm6
  2. 2026-11-12 Alias added: CVE-2021-32784

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences