2023-04-24 12:24:31 +02:00
{
"id" : "CVE-2023-25172" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2023-03-17T17:15:11.423" ,
2024-12-08 03:06:42 +00:00
"lastModified" : "2024-11-21T07:49:14.957" ,
"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 discussion platform. Prior to version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches, a maliciously crafted URL can be included in a user's full name field to to carry out cross-site scripting attacks on sites with a disabled or overly permissive CSP (Content Security Policy). Discourse's default CSP prevents this vulnerability. The vulnerability is patched in version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches. As a workaround, enable and/or restore your site's CSP to the default one provided with Discourse."
}
] ,
"metrics" : {
"cvssMetricV31" : [
{
2024-12-08 03:06:42 +00:00
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
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:H/PR:L/UI:R/S:C/C:L/I:L/A:N" ,
"baseScore" : 4.4 ,
"baseSeverity" : "MEDIUM" ,
2023-04-24 12:24:31 +02:00
"attackVector" : "NETWORK" ,
2024-12-08 03:06:42 +00:00
"attackComplexity" : "HIGH" ,
2023-04-24 12:24:31 +02:00
"privilegesRequired" : "LOW" ,
"userInteraction" : "REQUIRED" ,
"scope" : "CHANGED" ,
"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" : 1.3 ,
2023-04-24 12:24:31 +02:00
"impactScore" : 2.7
} ,
{
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" ,
2024-12-08 03:06:42 +00:00
"attackComplexity" : "LOW" ,
2023-04-24 12:24:31 +02:00
"privilegesRequired" : "LOW" ,
"userInteraction" : "REQUIRED" ,
"scope" : "CHANGED" ,
"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 ,
2023-04-24 12:24:31 +02:00
"impactScore" : 2.7
}
]
} ,
"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"
}
]
}
] ,
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*" ,
"versionEndExcluding" : "3.0.1" ,
"matchCriteriaId" : "C19D7945-EB52-43C0-B9B7-8C250FEDC451"
} ,
{
"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"
}
]
}
]
}
] ,
"references" : [
{
"url" : "https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915" ,
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a" ,
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/discourse/discourse/pull/20008" ,
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/discourse/discourse/pull/20009" ,
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp" ,
"source" : "security-advisories@github.com" ,
"tags" : [
"Vendor Advisory"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/discourse/discourse/pull/20008" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/discourse/discourse/pull/20009" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Vendor Advisory"
]
2023-04-24 12:24:31 +02:00
}
]
}