git: e86d0e301d3e - main - security/vuxml: Document vulnerability in www/element-web

From: Ashish SHUKLA <ashish_at_FreeBSD.org>
Date: Wed, 26 Apr 2023 06:25:09 UTC
The branch main has been updated by ashish:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e86d0e301d3e3ce558d6efab1f1d568165bd6b62

commit e86d0e301d3e3ce558d6efab1f1d568165bd6b62
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2023-04-26 06:12:59 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2023-04-26 06:12:59 +0000

    security/vuxml: Document vulnerability in www/element-web
---
 security/vuxml/vuln/2023.xml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/security/vuxml/vuln/2023.xml b/security/vuxml/vuln/2023.xml
index ada4bd3fd240..c6e61b91cdc4 100644
--- a/security/vuxml/vuln/2023.xml
+++ b/security/vuxml/vuln/2023.xml
@@ -1,3 +1,36 @@
+  <vuln vid="c676bb1b-e3f8-11ed-b37b-901b0e9408dc">
+    <topic>element-web -- matrix-react-sdk vulnerable to HTML injection in search results via plaintext message highlighting</topic>
+    <affects>
+      <package>
+	<name>element-web</name>
+	<range><lt>1.11.30</lt></range>
+      </package>
+    </affects>
+    <description>
+      <body xmlns="http://www.w3.org/1999/xhtml">
+	<p>Matrix developers report:</p>
+	<blockquote cite="https://github.com/advisories/GHSA-xv83-x443-7rmw">
+	  <p>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.</p>
+	</blockquote>
+      </body>
+    </description>
+    <references>
+      <cvename>CVE-2023-30609</cvename>
+      <url>https://github.com/advisories/GHSA-xv83-x443-7rmw</url>
+    </references>
+    <dates>
+      <discovery>2023-04-25</discovery>
+      <entry>2023-04-26</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="4ee322e9-e363-11ed-b934-b42e991fc52e">
     <topic>jellyfin -- Multiple vulnerabilities</topic>
     <affects>