Skip to content

Commit 828b6c2

Browse files
committed
Add security advisory details at the top of the readme.
1 parent 52ff87e commit 828b6c2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@ React Editable Json Tree
22
========================
33
[![Build Status](https://travis-ci.org/oxyno-zeta/react-editable-json-tree.svg?branch=master)](https://travis-ci.org/oxyno-zeta/react-editable-json-tree)[![Build Status](https://circleci.com/gh/oxyno-zeta/react-editable-json-tree.png)](https://circleci.com/gh/oxyno-zeta/react-editable-json-tree)[![npm](https://img.shields.io/npm/v/react-editable-json-tree.svg)]()
44

5+
## Security advisory
6+
7+
This library was previously affected by an `eval` security vulnerability.
8+
We have taken steps to mitigate this issue with non-breaking changes in this
9+
patch, v2.2.2, but for more info, please read
10+
[our security advisory](https://github.com/oxyno-zeta/react-editable-json-tree/security/advisories/GHSA-j3rv-w43q-f9x2).
11+
12+
If you do not have time to read and want to completely mitigate this issue,
13+
simply set the [allowFunctionEvaluation](#allowfunctionevaluation)
14+
prop to `false`. In the next major version, we will set this value to `false` by
15+
default.
16+
517
## Demo
618
Demo is available here : [Demo](https://oxyno-zeta.github.io/react-editable-json-tree/)
719

0 commit comments

Comments
 (0)