Skip to content

Commit

Permalink
Add security advisory details at the top of the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phanabani committed Aug 5, 2022
1 parent 52ff87e commit 828b6c2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ React Editable Json Tree
========================
[![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)]()

## Security advisory

This library was previously affected by an `eval` security vulnerability.
We have taken steps to mitigate this issue with non-breaking changes in this
patch, v2.2.2, but for more info, please read
[our security advisory](https://github.com/oxyno-zeta/react-editable-json-tree/security/advisories/GHSA-j3rv-w43q-f9x2).

If you do not have time to read and want to completely mitigate this issue,
simply set the [allowFunctionEvaluation](#allowfunctionevaluation)
prop to `false`. In the next major version, we will set this value to `false` by
default.

## Demo
Demo is available here : [Demo](https://oxyno-zeta.github.io/react-editable-json-tree/)

Expand Down

0 comments on commit 828b6c2

Please sign in to comment.