Upgrade `refractor` to remove `prismjs` vulnerability
Open
tech debt
- Dominant language
- TypeScript
- Stars
- 6.4k
- Forks
- 911
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 65
Description
## Description
We previously already updated our direct dependency of `prismjs` ([PR](https://github.com/elastic/eui/pull/8506)) but wealso need to upgrade our `refractor` dependency from the current version `3.6.0` to at least `4.9.0` ([release changelog](https://github.com/wooorm/refractor/releases/tag/4.9.0)) to ensure the included `prismjs` dependency is at `1.30.0` ([release](https://github.com/elastic/eui/pull/8506)) which includes a fix for an "Arbitrary Code Injection vulnerability" ([DOM Clobbering vulnerability](https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660)).
Contributor guide
Assessment
This issue has not been assessed yet.