2023-07-18 20:00:31 +00:00
{
"id" : "CVE-2023-37259" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2023-07-18T17:15:11.490" ,
2023-07-27 20:00:33 +00:00
"lastModified" : "2023-07-27T19:50:08.540" ,
"vulnStatus" : "Analyzed" ,
2023-07-18 20:00:31 +00:00
"descriptions" : [
{
"lang" : "en" ,
"value" : "matrix-react-sdk is a react-based SDK for inserting a Matrix chat/voip client into a web page. The Export Chat feature includes certain attacker-controlled elements in the generated document without sufficient escaping, leading to stored Cross site scripting (XSS). Since the Export Chat feature generates a separate document, an attacker can only inject code run from the `null` origin, restricting the impact. However, the attacker can still potentially use the XSS to leak message contents. A malicious homeserver is a potential attacker since the affected inputs are controllable server-side. This issue has been addressed in commit `22fcd34c60` which is included in release version 3.76.0. Users are advised to upgrade. The only known workaround for this issue is to disable or to not use the Export Chat feature."
}
] ,
"metrics" : {
"cvssMetricV31" : [
2023-07-27 20:00:33 +00:00
{
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "LOW" ,
"userInteraction" : "REQUIRED" ,
"scope" : "CHANGED" ,
"confidentialityImpact" : "LOW" ,
"integrityImpact" : "LOW" ,
"availabilityImpact" : "NONE" ,
"baseScore" : 5.4 ,
"baseSeverity" : "MEDIUM"
} ,
"exploitabilityScore" : 2.3 ,
"impactScore" : 2.7
} ,
2023-07-18 20:00:31 +00:00
{
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N" ,
"attackVector" : "ADJACENT_NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "LOW" ,
"userInteraction" : "REQUIRED" ,
"scope" : "CHANGED" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "NONE" ,
"availabilityImpact" : "NONE" ,
"baseScore" : 6.1 ,
"baseSeverity" : "MEDIUM"
} ,
"exploitabilityScore" : 1.7 ,
"impactScore" : 4.0
}
]
} ,
"weaknesses" : [
{
"source" : "security-advisories@github.com" ,
"type" : "Primary" ,
"description" : [
{
"lang" : "en" ,
"value" : "CWE-79"
}
]
}
] ,
2023-07-27 20:00:33 +00:00
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:*:*:*:*:*:node.js:*:*" ,
"versionStartIncluding" : "3.32.0" ,
"versionEndExcluding" : "3.76.0" ,
"matchCriteriaId" : "E73DB529-1353-4F26-BEE4-8AC754FA3B70"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:3.76.0:rc1:*:*:*:node.js:*:*" ,
"matchCriteriaId" : "5664080A-3C0B-423C-A17D-458C8E41BBB6"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:3.76.0:rc2:*:*:*:node.js:*:*" ,
"matchCriteriaId" : "3128DB5F-8C45-4362-BF0E-F6F456C2E39E"
}
]
}
]
}
] ,
2023-07-18 20:00:31 +00:00
"references" : [
{
"url" : "https://github.com/matrix-org/matrix-react-sdk/commit/22fcd34c606f32129ebc967fc21f24fb708a98b8" ,
2023-07-27 20:00:33 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
2023-07-18 20:00:31 +00:00
} ,
{
"url" : "https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-c9vx-2g7w-rp65" ,
2023-07-27 20:00:33 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Third Party Advisory"
]
2023-07-18 20:00:31 +00:00
}
]
}