Intel

AIKIDO-2024-10078

@rjsf/core is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 2, 2024

49

Medium Risk

This Affects:

JS@rjsf/core
2.0.0 - 5.16.1
Fixed in 5.17.0
Are you affected? Scan for Free

TL;DR

Affected versions of the @rjsf/core library are vulnerable to Cross-site Scripting (XSS) in the FileWidget component. The value property in FileWidget improperly parses data URLs, allowing the use of javascript: schemas, which can enable malicious script execution.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@rjsf/core is vulnerable to Cross-site Scripting (XSS) in versions 2.0.0 - 5.16.1.

How to fix this

Upgrade the @rjsf/core library to the patch version.