2023-04-24 12:24:31 +02:00
{
"id" : "CVE-2023-30538" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2023-04-18T22:15:08.130" ,
2024-12-08 03:06:42 +00:00
"lastModified" : "2024-11-21T08:00:22.817" ,
"vulnStatus" : "Modified" ,
2024-07-14 02:06:08 +00:00
"cveTags" : [ ] ,
2023-04-24 12:24:31 +02:00
"descriptions" : [
{
"lang" : "en" ,
"value" : "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\u2019 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). "
}
] ,
"metrics" : {
"cvssMetricV31" : [
2023-04-28 06:00:35 +02:00
{
2024-12-08 03:06:42 +00:00
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
2023-04-28 06:00:35 +02:00
"cvssData" : {
"version" : "3.1" ,
2024-12-08 03:06:42 +00:00
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N" ,
"baseScore" : 5.4 ,
"baseSeverity" : "MEDIUM" ,
2023-04-28 06:00:35 +02:00
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
2024-12-08 03:06:42 +00:00
"privilegesRequired" : "NONE" ,
2023-04-28 06:00:35 +02:00
"userInteraction" : "REQUIRED" ,
2024-12-08 03:06:42 +00:00
"scope" : "UNCHANGED" ,
2023-04-28 06:00:35 +02:00
"confidentialityImpact" : "LOW" ,
"integrityImpact" : "LOW" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "NONE"
2023-04-28 06:00:35 +02:00
} ,
2024-12-08 03:06:42 +00:00
"exploitabilityScore" : 2.8 ,
"impactScore" : 2.5
2023-04-28 06:00:35 +02:00
} ,
2023-04-24 12:24:31 +02:00
{
2024-12-08 03:06:42 +00:00
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
2023-04-24 12:24:31 +02:00
"cvssData" : {
"version" : "3.1" ,
2024-12-08 03:06:42 +00:00
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N" ,
"baseScore" : 5.4 ,
"baseSeverity" : "MEDIUM" ,
2023-04-24 12:24:31 +02:00
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
2024-12-08 03:06:42 +00:00
"privilegesRequired" : "LOW" ,
2023-04-24 12:24:31 +02:00
"userInteraction" : "REQUIRED" ,
2024-12-08 03:06:42 +00:00
"scope" : "CHANGED" ,
2023-04-24 12:24:31 +02:00
"confidentialityImpact" : "LOW" ,
"integrityImpact" : "LOW" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "NONE"
2023-04-24 12:24:31 +02:00
} ,
2024-12-08 03:06:42 +00:00
"exploitabilityScore" : 2.3 ,
"impactScore" : 2.7
2023-04-24 12:24:31 +02:00
}
]
} ,
"weaknesses" : [
{
"source" : "security-advisories@github.com" ,
2024-12-15 03:03:56 +00:00
"type" : "Primary" ,
2023-04-24 12:24:31 +02:00
"description" : [
{
"lang" : "en" ,
"value" : "CWE-79"
}
]
}
] ,
2023-04-28 06:00:35 +02:00
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*" ,
"versionEndIncluding" : "3.0.2" ,
"matchCriteriaId" : "00B6C4A7-D922-42E9-9E83-4FF77564982E"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*" ,
"versionEndExcluding" : "3.1.0" ,
"matchCriteriaId" : "D3C08972-822D-4657-9B6F-02BC692B7C6E"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:discourse:discourse:3.1.0:beta1:*:*:beta:*:*:*" ,
"matchCriteriaId" : "B9BBED17-A6BA-4F17-8814-8D8521F28375"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:discourse:discourse:3.1.0:beta2:*:*:beta:*:*:*" ,
"matchCriteriaId" : "888B8ECF-EBE0-4821-82F6-B0026E95E407"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:discourse:discourse:3.1.0:beta3:*:*:beta:*:*:*" ,
"matchCriteriaId" : "FD0302B1-C0BA-49EE-8E1B-E8A43879BFC2"
}
]
}
]
}
] ,
2023-04-24 12:24:31 +02:00
"references" : [
{
"url" : "https://github.com/discourse/discourse/security/advisories/GHSA-w5mv-4pjf-xj43" ,
2023-04-28 06:00:35 +02:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Mitigation" ,
"Third Party Advisory"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://github.com/discourse/discourse/security/advisories/GHSA-w5mv-4pjf-xj43" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Mitigation" ,
"Third Party Advisory"
]
2023-04-24 12:24:31 +02:00
}
]
}