element-plus below 2.0.5 is vulnerable to Cross Site Scripting (XSS) when attribute show-tooltips-overflow
of el-table-column
is true. The mouseover action will make the text of this column render as html.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-27103
- https://github.com/asjdf/element-table-xss-test/issues/1
- https://github.com/element-plus/element-plus/issues/6514
- https://github.com/asjdf/element-table-xss-test/
- https://github.com/element-plus/element-plus/pull/6520
- https://github.com/element-plus/element-plus/commit/063c56446135176971f532bd0eb2e88a0b137d43
- https://github.com/advisories/GHSA-rjvg-8v36-xv9r