Intel

AIKIDO-2025-10313

@react-awesome-query-builder/antd 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 19, 2025

60

Medium Risk

This Affects:

JS@react-awesome-query-builder/antd
6.3.0 - 6.6.14
Fixed in 6.6.15
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to cross-site scripting (XSS) in the domUtils.calcTextWidth method. An attacker could exploit this by injecting malicious content that is interpreted as executable JavaScript when processed by the method, potentially leading to the execution of arbitrary scripts in the context of the user's session. This could result in unauthorized actions, data exposure, or session hijacking.

Who does this affect?

You are affected if you are using a version which is within vulnerability ranges

Background info

@react-awesome-query-builder/antd is vulnerable to Cross-site Scripting (XSS) in versions 6.3.0 - 6.6.14.

How to fix this

Upgrade the @react-awesome-query-builder/antd library to the patch version.