de7ign / flashcard

flashcard in react-native
MIT License
0 stars 0 forks source link

WS-2019-0336 (Medium) detected in JSXTransformer-0.13.2.js, react-with-addons-0.13.3.js #54

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

WS-2019-0336 - Medium Severity Vulnerability

Vulnerable Libraries - JSXTransformer-0.13.2.js, react-with-addons-0.13.3.js

JSXTransformer-0.13.2.js

React is a JavaScript library for building user interfaces.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/react/0.13.2/JSXTransformer.js

Path to dependency file: /node_modules/react-native/Libraries/Animated/examples/demo.html

Path to vulnerable library: /node_modules/react-native/Libraries/Animated/examples/demo.html

Dependency Hierarchy: - :x: **JSXTransformer-0.13.2.js** (Vulnerable Library)

react-with-addons-0.13.3.js

React is a JavaScript library for building user interfaces.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react-with-addons.js

Path to dependency file: /node_modules/react-native/Libraries/Animated/examples/demo.html

Path to vulnerable library: /node_modules/react-native/Libraries/Animated/examples/demo.html

Dependency Hierarchy: - :x: **react-with-addons-0.13.3.js** (Vulnerable Library)

Vulnerability Details

Cross-Site Scripting vulnerability found in react before 0.14.0. The package's createElement function fails to properly validate its input object, allowing attackers to execute arbitrary JavaScript in a victim's browser.

Publish Date: 2019-12-17

URL: WS-2019-0336

CVSS 3 Score Details (6.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: http://danlec.com/blog/xss-via-a-spoofed-react-element

Release Date: 2019-12-17

Fix Resolution: react - 0.14.0


Step up your Open Source Security Game with Mend here