{"api_version":"1","generated_at":"2026-05-13T20:37:39+00:00","cve":"CVE-2023-30609","urls":{"html":"https://cve.report/CVE-2023-30609","api":"https://cve.report/api/cve/CVE-2023-30609.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-30609","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-30609"},"summary":{"title":"CVE-2023-30609","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 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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-04-25 21:15:00","updated_at":"2023-05-08 18:05:00"},"problem_types":["CWE-74"],"metrics":[],"references":[{"url":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw","name":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw","refsource":"MISC","tags":[],"title":"HTML injection in search results via plaintext message highlighting · Advisory · matrix-org/matrix-react-sdk · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826","name":"https://github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-xv83-x443-7rmw · matrix-org/matrix-react-sdk@bf182bc · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.71.0","name":"https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.71.0","refsource":"MISC","tags":[],"title":"Release v3.71.0 · matrix-org/matrix-react-sdk · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-30609","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30609","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"30609","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"matrix-react-sdk_project","cpe5":"matrix-react-sdk","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-30609","qid":"502990","title":"Alpine Linux Security Update for riot-web"},{"cve":"CVE-2023-30609","qid":"503175","title":"Alpine Linux Security Update for element-web"},{"cve":"CVE-2023-30609","qid":"506035","title":"Alpine Linux Security Update for element-web"},{"cve":"CVE-2023-30609","qid":"691153","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for element (c676bb1b-e3f8-11ed-b37b-901b0e9408dc)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-30609","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","cweId":"CWE-74"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"matrix-org","product":{"product_data":[{"product_name":"matrix-react-sdk","version":{"version_data":[{"version_affected":"=","version_value":"< 3.71.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw","refsource":"MISC","name":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw"},{"url":"https://github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826","refsource":"MISC","name":"https://github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826"},{"url":"https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.71.0","refsource":"MISC","name":"https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.71.0"}]},"source":{"advisory":"GHSA-xv83-x443-7rmw","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L","version":"3.1"}]}},"nvd":{"publishedDate":"2023-04-25 21:15:00","lastModifiedDate":"2023-05-08 18:05:00","problem_types":["CWE-74"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":1.4}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.71.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}