{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-30609","id":"CVE-2023-30609","title":"matrix-react-sdk vulnerable to HTML injection in search results via plaintext message highlighting","description":"matrix-react-sdk is a react-based SDK for inserting a Matrix chat/VoIP client into a web page. Prior to version 3.71.0, plain text messages containing HTML tags are rendered as HTML in the search results. To exploit this, an attacker needs to trick a user into searching for a specific message containing an HTML injection payload. No cross-site scripting attack is possible due to the hardcoded cont","descriptionLong":"matrix-react-sdk is a react-based SDK for inserting a Matrix chat/VoIP client into a web page. Prior to version 3.71.0, plain text messages containing HTML tags are rendered as HTML in the search results. To exploit this, an attacker needs to trick a user into searching for a specific message containing an HTML injection payload. No cross-site scripting attack is possible due to the hardcoded content security policy. Version 3.71.0 of the SDK patches over the issue. As a workaround, restarting the client will clear the HTML injection.","published":"2023-04-25T20:58:27.966Z","updated":"2026-10-28T02:31:13.304416164Z","reserved":"2023-04-13T13:25:18.831Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","rating":"high","source":"GitHub"}],"rating":"medium","products":["matrix-org matrix-react-sdk"],"affectedProducts":[{"vendor":"matrix-org","product":"matrix-react-sdk","defaultStatus":null,"versions":[{"version":"< 3.71.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"matrix-react-sdk","purl":"pkg:npm/matrix-react-sdk","ranges":["<3.71.0"],"fixed":["3.71.0"],"advisory":"GHSA-xv83-x443-7rmw"}],"cwes":["CWE-74","CWE-79"],"aliases":["GHSA-xv83-x443-7rmw"],"references":[{"url":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.71.0","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/30xxx/CVE-2023-30609.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30609","tags":["advisory"]},{"url":"https://github.com/matrix-org/matrix-react-sdk","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00617,"epssPercentile":0.50372,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-30609","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30609","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-30609","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xv83-x443-7rmw","ok":true,"note":"GHSA-xv83-x443-7rmw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-30609","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["react"],"critical":[],"attention":null}