Description
The openUrl function in @a2ui/web_core passes an agent-controlled URL directly to window.open() without validating the URI scheme. A malicious agent can supply a javascript: URI as the url argument of a Button component's functionCall action. When the user clicks the rendered button, arbitrary JavaScript executes in the victim application's browser origin, constituting a stored/reflected XSS with Critical severity. No non-default configuration is required; the Basic Catalog is enabled by default.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| @a2ui/web_core | 0.9.0, 0.9.1-alpha.0, 0.9.1-alpha.1, 0.9.1-alpha.2, 0.9.1-alpha.3, 0.9.1-alpha.4, 0.9.1-alpha.5, 0.9.1, 0.9.2, 0.10.0, 0.10.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @a2ui/web_core | >= 0.9.0, < 0.10.2 | 0.10.2 | GHSA-72qq-p3r5-f7wq |