NodeJS/matrix-react-sdk/3.73.0-rc.2


SDK for matrix.org using React

https://www.npmjs.com/package/matrix-react-sdk
Apache-2.0

1 Security Vulnerabilities

matrix-react-sdk vulnerable to XSS in Export Chat feature

Published date: 2023-07-18T16:58:01Z
CVE: CVE-2023-37259
Links:

Description

The Export Chat feature includes certain attacker-controlled elements in the generated document without sufficient escaping, leading to stored XSS.

Impact

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.

Patches

This was patched in matrix-react-sdk 3.76.0.

Workarounds

None, other than not using the Export Chat feature.

References

N/A

Affected versions: ["3.32.0", "3.32.1", "3.33.0-rc.1", "3.33.0-rc.2", "3.33.0", "3.34.0-rc.1", "3.34.0", "3.35.0-rc.1", "3.35.1", "3.36.0-rc.1", "3.36.0", "3.36.1", "3.37.0-rc.1", "3.37.0", "3.38.0-rc.1", "3.38.0", "3.39.0-rc.1", "3.39.0-rc.2", "3.39.0", "3.39.1", "3.40.0-rc.1", "3.40.0-rc.2", "3.40.0", "3.40.1", "3.41.0-rc.1", "3.41.0", "3.41.1", "3.42.0-rc.1", "3.42.0", "3.42.1-rc.1", "3.42.1", "3.42.2-rc.1", "3.42.2-rc.2", "3.42.2-rc.3", "3.42.2-rc.4", "3.42.3", "3.42.4", "3.43.0-rc.1", "3.43.0", "3.44.0-rc.1", "3.44.0-rc.2", "3.44.0", "3.45.0-rc.2", "3.45.0-rc.3", "3.45.0", "3.46.0-rc.1", "3.46.0", "3.47.0", "3.48.0-rc.1", "3.48.0", "3.49.0-rc.1", "3.49.0-rc.2", "3.49.0", "3.50.0", "3.51.0-rc.1", "3.51.0", "3.52.0-rc.1", "3.52.0-rc.2", "3.52.0", "3.53.0-rc.1", "3.53.0-rc.2", "3.53.0", "3.54.0-rc.1", "3.54.0", "3.55.0-rc.1", "3.55.0", "3.56.0", "3.57.0", "3.58.0-rc.1", "3.58.0-rc.2", "3.58.0", "3.58.1", "3.59.0-rc.1", "3.59.0-rc.2", "3.59.0", "3.59.1", "3.60.0-rc.1", "3.60.0-rc.2", "3.60.0", "3.61.0-rc.1", "3.61.0", "3.62.0-rc.1", "3.62.0-rc.2", "3.62.0", "3.63.0-rc.2", "3.63.0", "3.64.0-rc.1", "3.64.0-rc.2", "3.64.0-rc.3", "3.64.0-rc.4", "3.64.0", "3.64.1", "3.64.2", "3.65.0-rc.1", "3.65.0", "3.66.0-rc.1", "3.66.0", "3.67.0-rc.1", "3.67.0-rc.2", "3.67.0", "3.68.0-rc.1", "3.68.0-rc.2", "3.68.0-rc.3", "3.68.0", "3.69.0", "3.69.1", "3.70.0-rc.1", "3.70.0", "3.71.0-rc.1", "3.71.0", "3.71.1", "3.72.0-rc.1", "3.72.0-rc.2", "3.72.0", "3.73.0-rc.1", "3.73.0-rc.2", "3.73.0-rc.3", "3.73.0", "3.73.1", "3.74.0-rc1", "3.74.0", "3.75.0-rc.1", "3.75.0", "3.76.0-rc.1", "3.76.0-rc.2"]
Secure versions: [3.76.0, 3.77.0-rc.1, 3.77.0, 3.77.1, 3.78.0-rc.1, 3.78.0, 3.79.0-rc.2, 3.79.0, 3.80.0-rc.1, 3.80.0-rc.2, 3.80.0, 3.80.1, 3.81.0-rc.1, 3.81.0, 3.81.1, 3.82.0-rc.1, 3.82.0, 3.83.0-rc.1, 3.83.0, 3.84.0-rc.1, 3.84.0, 3.84.1, 3.85.0-rc.0, 3.85.0-rc.1, 3.85.0, 3.86.0-rc.2, 3.86.0, 3.87.0-rc.0, 3.87.0, 3.88.0, 3.89.0-rc.0, 3.89.0, 3.90.0, 3.91.0-rc.0, 3.91.0-rc.1, 3.91.0, 3.92.0-rc.0, 3.92.0-rc.1, 3.92.0, 3.93.0-rc.0, 3.93.0, 3.94.0-rc.0, 3.94.0, 3.95.0-rc.0, 3.95.0, 3.96.0-rc.0, 3.96.0, 3.96.1, 3.97.0-rc.0, 3.97.0, 3.98.0-rc.0, 3.98.0, 3.99.0-rc.0, 3.99.0-rc.1, 3.99.0, 3.100.0-rc.0]
Recommendation: Update to version 3.99.0.

514 Other Versions

Version License Security Released
3.70.0 Apache-2.0 2 2023-04-11 - 13:09 about 1 year
3.71.0-rc.1 Apache-2.0 2 2023-04-18 - 10:57 about 1 year
3.69.0 Apache-2.0 2 2023-03-28 - 13:26 about 1 year
3.69.1 Apache-2.0 2 2023-03-31 - 09:01 about 1 year
3.70.0-rc.1 Apache-2.0 2 2023-04-04 - 11:04 about 1 year
3.73.0-rc.2 Apache-2.0 1 2023-05-19 - 15:59 12 months
3.76.0-rc.1 Apache-2.0 1 2023-07-11 - 14:48 10 months
3.71.0 Apache-2.0 1 2023-04-25 - 09:19 about 1 year
3.71.1 Apache-2.0 1 2023-04-25 - 09:58 about 1 year
3.73.0-rc.1 Apache-2.0 1 2023-05-16 - 13:10 about 1 year
3.73.0-rc.3 Apache-2.0 1 2023-06-01 - 16:02 12 months
3.72.0-rc.2 Apache-2.0 1 2023-05-05 - 14:18 about 1 year
3.75.0-rc.1 Apache-2.0 1 2023-06-27 - 11:08 11 months
3.72.0 Apache-2.0 1 2023-05-10 - 11:23 about 1 year
3.74.0-rc1 Apache-2.0 1 2023-06-13 - 11:42 11 months
3.72.0-rc.1 Apache-2.0 1 2023-05-02 - 10:41 about 1 year
3.73.1 Apache-2.0 1 2023-06-09 - 08:43 11 months
3.76.0-rc.2 Apache-2.0 1 2023-07-14 - 15:29 10 months
3.74.0 Apache-2.0 1 2023-06-20 - 09:23 11 months
3.75.0 Apache-2.0 1 2023-07-04 - 14:19 11 months
3.73.0 Apache-2.0 1 2023-06-06 - 13:28 12 months
3.18.0-rc.1 Apache-2.0 5 2021-04-07 - 12:05 about 3 years
3.18.0 Apache-2.0 5 2021-04-12 - 13:51 about 3 years
3.20.0 Apache-2.0 5 2021-05-10 - 14:19 about 3 years
3.17.0 Apache-2.0 5 2021-03-29 - 12:36 about 3 years
3.19.0 Apache-2.0 5 2021-04-26 - 16:48 about 3 years
3.21.0-rc.1 Apache-2.0 5 2021-05-11 - 15:37 about 3 years
3.20.0-rc.1 Apache-2.0 5 2021-05-04 - 14:54 about 3 years
3.16.0-rc.1 Apache-2.0 5 2021-03-10 - 17:32 about 3 years
3.15.0 Apache-2.0 5 2021-03-01 - 13:10 about 3 years
3.19.0-rc.1 Apache-2.0 5 2021-04-21 - 15:54 about 3 years
3.17.0-rc.1 Apache-2.0 5 2021-03-25 - 12:21 about 3 years
3.16.0-rc.2 Apache-2.0 5 2021-03-10 - 18:10 about 3 years
3.16.0 Apache-2.0 5 2021-03-15 - 14:46 about 3 years
3.67.0-rc.1 Apache-2.0 3 2023-02-21 - 13:10 about 1 year
3.68.0-rc.3 Apache-2.0 3 2023-03-14 - 11:39 about 1 year
3.64.0-rc.2 Apache-2.0 3 2023-01-12 - 13:46 over 1 year
3.55.0-rc.1 Apache-2.0 3 2022-09-20 - 13:22 over 1 year
3.66.0 Apache-2.0 3 2023-02-14 - 10:33 over 1 year
3.64.2 Apache-2.0 3 2023-01-20 - 12:32 over 1 year
3.67.0-rc.2 Apache-2.0 3 2023-02-22 - 11:23 about 1 year
3.65.0 Apache-2.0 3 2023-01-31 - 10:59 over 1 year
3.64.1 Apache-2.0 3 2023-01-18 - 21:56 over 1 year
3.64.0 Apache-2.0 3 2023-01-18 - 13:46 over 1 year
3.65.0-rc.1 Apache-2.0 3 2023-01-24 - 11:28 over 1 year
3.67.0 Apache-2.0 3 2023-02-28 - 10:49 about 1 year
3.68.0-rc.2 Apache-2.0 3 2023-03-10 - 15:07 about 1 year
3.60.0-rc.2 Apache-2.0 3 2022-11-08 - 13:13 over 1 year
3.63.0 Apache-2.0 3 2022-12-21 - 17:17 over 1 year
3.64.0-rc.1 Apache-2.0 3 2023-01-11 - 13:47 over 1 year
3.61.0 Apache-2.0 3 2022-11-22 - 11:42 over 1 year
3.62.0-rc.1 Apache-2.0 3 2022-11-29 - 15:44 over 1 year
3.62.0 Apache-2.0 3 2022-12-06 - 12:51 over 1 year
3.63.0-rc.2 Apache-2.0 3 2022-12-14 - 09:33 over 1 year
3.62.0-rc.2 Apache-2.0 3 2022-12-02 - 16:35 over 1 year
3.66.0-rc.1 Apache-2.0 3 2023-02-07 - 12:14 over 1 year
3.61.0-rc.1 Apache-2.0 3 2022-11-15 - 18:07 over 1 year
3.60.0-rc.1 Apache-2.0 3 2022-11-01 - 14:47 over 1 year
3.53.0 Apache-2.0 3 2022-08-31 - 15:31 over 1 year
3.56.0 Apache-2.0 3 2022-09-28 - 13:18 over 1 year
3.64.0-rc.4 Apache-2.0 3 2023-01-17 - 09:18 over 1 year
3.57.0 Apache-2.0 3 2022-09-28 - 14:57 over 1 year
3.58.0-rc.1 Apache-2.0 3 2022-10-04 - 13:23 over 1 year
3.68.0 Apache-2.0 3 2023-03-15 - 12:52 about 1 year
3.58.1 Apache-2.0 3 2022-10-11 - 16:54 over 1 year
3.54.0-rc.1 Apache-2.0 3 2022-09-06 - 12:24 over 1 year
3.59.0-rc.2 Apache-2.0 3 2022-10-24 - 16:00 over 1 year
3.59.0 Apache-2.0 3 2022-10-25 - 16:45 over 1 year
3.59.0-rc.1 Apache-2.0 3 2022-10-18 - 13:17 over 1 year
3.58.0-rc.2 Apache-2.0 3 2022-10-05 - 12:44 over 1 year
3.54.0 Apache-2.0 3 2022-09-13 - 11:57 over 1 year
3.55.0 Apache-2.0 3 2022-09-27 - 17:13 over 1 year
3.58.0 Apache-2.0 3 2022-10-11 - 12:59 over 1 year
3.59.1 Apache-2.0 3 2022-11-01 - 09:34 over 1 year
3.60.0 Apache-2.0 3 2022-11-08 - 14:44 over 1 year
3.64.0-rc.3 Apache-2.0 3 2023-01-13 - 10:47 over 1 year
3.68.0-rc.1 Apache-2.0 3 2023-03-07 - 11:34 about 1 year
0.10.7-rc.2 Apache-2.0 6 2017-10-13 - 14:03 over 6 years
0.10.7-rc.1 Apache-2.0 6 2017-10-13 - 10:11 over 6 years
0.10.7 Apache-2.0 6 2017-10-16 - 13:45 over 6 years
0.10.7-rc.3 Apache-2.0 6 2017-10-13 - 15:32 over 6 years
0.11.0-rc.1 Apache-2.0 6 2017-11-10 - 13:40 over 6 years
0.11.0-rc.3 Apache-2.0 6 2017-11-14 - 14:17 over 6 years
0.11.0 Apache-2.0 6 2017-11-15 - 11:01 over 6 years
0.11.1 Apache-2.0 6 2017-11-17 - 16:04 over 6 years
0.11.2 Apache-2.0 6 2017-11-28 - 10:25 over 6 years
0.11.3 Apache-2.0 6 2017-12-04 - 12:24 over 6 years
0.11.4 Apache-2.0 6 2018-02-09 - 12:34 over 6 years
0.12.0-rc.1 Apache-2.0 6 2018-03-19 - 12:16 about 6 years
0.12.0-rc.2 Apache-2.0 6 2018-03-19 - 14:59 about 6 years
0.12.0-rc.3 Apache-2.0 6 2018-03-20 - 17:38 about 6 years
0.10.4 Apache-2.0 6 2017-09-20 - 14:13 over 6 years
0.11.4-cryptowarning.1 Apache-2.0 6 2018-03-26 - 13:21 about 6 years
0.11.4-cryptowarning.2 Apache-2.0 6 2018-03-26 - 14:40 about 6 years
0.12.0-rc.5 Apache-2.0 6 2018-04-09 - 14:41 about 6 years
0.12.0-rc.6 Apache-2.0 6 2018-04-09 - 16:10 about 6 years
0.12.0-rc.7 Apache-2.0 6 2018-04-10 - 13:28 about 6 years
0.12.0 Apache-2.0 6 2018-04-11 - 10:31 about 6 years
0.12.1 Apache-2.0 6 2018-04-11 - 10:55 about 6 years
0.12.2 Apache-2.0 6 2018-04-12 - 11:51 about 6 years