elastic / elastic/eui

Upgrade `refractor` to remove `prismjs` vulnerability

Open
#8,616 7 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.