Intel

AIKIDO-2026-619367

@a2ui/web_core is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-72qq-p3r5-f7wq Published 3 days ago

93

Critical Risk

This Affects:

JS@a2ui/web_core
0.9.0 - 0.10.1
Fixed in 0.10.2
Are you affected? Scan for Free

TL;DR

The openUrl function in the Basic Catalog passes an agent-controlled URL straight to window.open without validating the URI scheme. A Button component's functionCall action can supply a javascript: URI, so clicking the rendered button runs arbitrary JavaScript in the application's browser origin. Before the fix this allowed cross-site scripting in the victim application using only the default configuration. The fix rejects URLs that do not use the http or https scheme and opens links with noopener,noreferrer.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application renders A2UI button actions built from untrusted or agent-supplied content using the default Basic Catalog.

Background info

@a2ui/web_core is vulnerable to Cross-Site Scripting (XSS) in versions 0.9.0 - 0.10.1.

How to fix this

Upgrade the @a2ui/web_core library to the patch version.