CVE-2023-30538
Discourse SVG Injection Vulnerability
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).
INFO
Published Date :
April 18, 2023, 10:15 p.m.
Last Modified :
April 28, 2023, 3:50 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.3
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-30538
.
URL | Resource |
---|---|
https://github.com/discourse/discourse/security/advisories/GHSA-w5mv-4pjf-xj43 | Mitigation Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-30538
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-30538
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Apr. 28, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/discourse/discourse/security/advisories/GHSA-w5mv-4pjf-xj43 No Types Assigned https://github.com/discourse/discourse/security/advisories/GHSA-w5mv-4pjf-xj43 Mitigation, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:* versions up to (including) 3.0.2 *cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* versions up to (excluding) 3.1.0 *cpe:2.3:a:discourse:discourse:3.1.0:beta1:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.1.0:beta2:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.1.0:beta3:*:*:beta:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-30538
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-30538
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.05 }} 0.00%
score
0.19411
percentile