CVE-2023-30538
CVSS V2 None
CVSS V3 None
Description
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 handing of uploads (and ensure the CDN sanitizes SVG files) or disable SVG file uploads by ensuring that the `authorized extensions` site setting does not include `svg` (or reset that setting to the default, by default Discourse doesn't enable SVG uploads by users).
Overview
- CVE ID
- CVE-2023-30538
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Undergoing Analysis
- Published Version
- 2023-04-18T22:15:08
- Last Modified Date
- 2023-04-19T12:39:47
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://github.com/discourse/discourse/security/advisories/GHSA-w5mv-4pjf-xj43 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2023-30538 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-30538 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2023-04-19 00:01:21 | Added to TrackCVE | |||
2023-04-19 00:01:22 | Weakness Enumeration | new | ||
2023-04-19 13:00:40 | 2023-04-19T12:39:47 | CVE Modified Date | updated | |
2023-04-19 13:00:40 | Received | Awaiting Analysis | Vulnerability Status | updated |
2023-04-25 17:01:10 | Awaiting Analysis | Undergoing Analysis | Vulnerability Status | updated |