SecurityContext

CVE-2025-66488: Discourse - Stored XSS

  • Cve: CVE-2025-66488
  • Name: Discourse - Stored XSS
  • Description: Discourse is an open source discussion platform. A vulnerability present in versions prior to 3.5.4, 2025.11.2, 2025.12.1, and 2026.1.0 affects anyone who uses S3 for uploads. While scripts may be executed, they will only be run in the context of the S3/CDN domain, with no site credentials. Versions 3.5.4, 2025.11.2, 2025.12.1, and 2026.1.0 fix the issue. As a workaround, disallow html or xml files for uploads in authorized_extensions. For existing html xml uploads, site owners can consider deleting them.
  • Impact: Attackers can execute scripts in the S3/CDN domain context, but cannot access site credentials or user data.
  • Remediation: Upgrade to versions 3.5.4, 2025.11.2, 2025.12.1, or 2026.1.0; disallow html or xml files for uploads as workaround.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00198
  • Epss percentile: 0.09482
  • Assignee: [email protected]
  • Published at: 2026-01-28T19:16:22Z
  • Age in days: 300
  • Modified at: 2026-06-17T09:56:55Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-66488
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-116Improper Encoding or Escaping of Output

References

UrlSourceTags
https://github.com/discourse/discourse/security/advisories/GHSA-68jp-3934-62rxnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
discourse:discourse= 2026.1.0; = 2025.12.0; >= 2025.11.0, < 2025.11.2; < 3.5.4nonvd/v1/products/discourse/discourse

Projects

RepositoryLink kindsIndexedUrl
discourse/discoursesecurity_advisoryyes/v1/repositories/discourse/discourse

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 22639
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports