All vulnerabilities

Servers and applications

CVE-2023-30538

Discourse is an open source platform for community discussion. Due to the improper sanitization of SVG files, an attacker can execute arbitrary JavaScript on the users’ browsers by uploading a crafted SVG file. This issue is patched in the latest stable and tests-passed versions of Discourse. Users are advised to upgrade. For users unable to upgrade there are two possible workarounds: enable CDN…

Severity
Medium 5.4
Published
18 Apr 2023
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
3.1.0
Sources
NVD

Affected software

SoftwareAffected versions
DiscourseServers and applications · cpe:a:discourse:discourse
  • Every version up to 3.0.2
  • Every version before 3.1.0
  • Version 3.1.0-beta1
  • Version 3.1.0-beta2
  • Version 3.1.0-beta3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-30538
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-30538