Intel

AIKIDO-2025-10048

@wordpress/block-library is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS)CVE-2022-43500 Published Jan 27, 2025

61

Medium Risk

This Affects:

JS@wordpress/block-library
7.3.2 - 8.3.0
Fixed in 8.3.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to insufficient output escaping of user-supplied input. An attacker can exploit this vulnerability by crafting malicious inputs that are rendered unescaped in the application's output. This allows the attacker to inject and execute arbitrary scripts in the context of the victim's browser, potentially leading to data theft, session hijacking, or other malicious activities.

Who does this affect?

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

Background info

@wordpress/block-library is vulnerable to Cross-site Scripting (XSS) in versions 7.3.2 - 8.3.0.

How to fix this

Upgrade the @wordpress/block-library library to the patch version.