SecurityContext

CVE-2023-47119: Discourse - Stored XSS

  • Cve: CVE-2023-47119
  • Name: Discourse - Stored XSS
  • Description: Discourse is an open source platform for community discussion. Prior to version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches, some links can inject arbitrary HTML tags when rendered through our Onebox engine. The issue is patched in version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches. There are no known workarounds.
  • Impact: Attackers can execute arbitrary scripts in the context of other users, leading to session hijacking or defacement.
  • Remediation: Update to version 3.1.3 for stable branch and 3.2.0.beta3 for beta and tests-passed branches.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Exploit requires rendering malicious links
  • 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.01083
  • Epss percentile: 0.66093
  • Assignee: [email protected]
  • Published at: 2023-11-10T15:15:09Z
  • Age in days: 1110
  • Modified at: 2026-06-17T06:32:11Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-47119
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/BaadMaro/CVE-2023-47119poc-in-github2023-11-12

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/discourse/discourse/commit/628b293ff53fb617b3464dd27268aec84388cc09Patch
https://github.com/discourse/discourse/commit/d78357917c6a917a8a27af68756228e89c69321cPatch
https://github.com/discourse/discourse/security/advisories/GHSA-j95w-5hvx-jp5wVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
discourse:discourse< 3.2.0, = 3.2.0 beta1, = 3.2.0 beta2, < 3.1.3nonvd/v1/products/discourse/discourse

Projects

RepositoryLink kindsIndexedUrl
discourse/discoursecommit, fix, security_advisoryyes/v1/repositories/discourse/discourse

Index

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

Exploitation

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