CVE-2026-10032: Arbitrary JavaScript Execution via openUrl in @a2ui/web_core

Published Aug 4, 2026
·
Updated

Summary

The openUrl function in @a2ui/webcore 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. No non-default configuration is required; the Basic Catalog is enabled by default.

Details

The vulnerability exists in the openUrl function implementation within the Basic Catalog of @a2ui/webcore (commit 23a003248abbf59da6c376ea64ace91d82d209ff).

Sink — renderers/webcore/src/v09/basiccatalog/functions/basicfunctions.ts:428-430:

ts export const OpenUrlImplementation = createFunctionImplementation(OpenUrlApi, args => { if (args.url && typeof window !== 'undefined' && window.open) { window.open(args.url, 'blank'); } });

window.open is called unconditionally with the agent-supplied args.url value. No scheme allowlist or blocklist is applied.

Insufficient schema validation — renderers/webcore/src/v09/basiccatalog/functions/basicfunctionsapi.ts:453-458:

ts export const OpenUrlApi = { name: 'openUrl' as const, returnType: 'void' as const, schema: z.object({ url: z.preprocess(v => (v === undefined ? undefined : String(v)), z.string()), }), };

The Zod schema only requires a string; javascript: URIs pass validation without any rejection.

Full source-to-sink data flow:

1. renderers/webcore/src/v09/basiccatalog/components/basiccomponents.ts:356 — ButtonApi accepts action: ActionSchema (entry point). 2. renderers/webcore/src/v09/schema/common-types.ts:126-130 — ActionSchema permits { functionCall: FunctionCallSchema }. 3. renderers/webcore/src/v09/rendering/generic-binder.ts:243-255 — on click, bound action calls resolveDeepSync then dispatchAction. 4. renderers/webcore/src/v09/rendering/data-context.ts:93-105 — resolveDynamicValue detects the call key and invokes the named function. 5. renderers/webcore/src/v09/catalog/types.ts:177-186 — catalog invoker runs fn.schema.parse(rawArgs) then fn.execute(). 6. renderers/webcore/src/v09/basiccatalog/functions/basicfunctionsapi.ts:453-458 — OpenUrlApi validates url as z.string() only (no scheme check). 7. renderers/webcore/src/v09/basiccatalog/functions/basicfunctions.ts:428-430 — sink: window.open(args.url, 'blank') executes the javascript: URI.

All three renderers implemented in the A2UI repository are affected:

- React: renderers/react/src/v09/catalog/basic/components/Button.tsx:33 — onClick={props.action} - Lit: renderers/lit/src/v09/catalogs/basic/components/Button.ts:112 — @click=${() => props.action()} - Angular: renderers/angular/src/v09/catalog/basic/button.component.ts:103-110 — handleClick() → dataContext.resolveAction → dispatchAction

Any other A2UI renderer which depends on webcore and uses its basic catalog implementation is also affected.

Remediation

The issue was fixed in https://github.com/a2ui-project/a2ui/pull/1707 and released in web\core version 0.10.2, by blocking URLs that do not use the HTTP or HTTPS schemes, or those that are invalid.

Please fix this issue in your project by depending on a @a2ui/web\core version equal or greater than 0.10.2.

Other sources

The openUrl function in @a2ui/webcore 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.

— MITRE

Affected Software

3 affected componentsFixes available
npm/@a2ui/web_core
Google A2ui\/web Core Node.js>=0.9.0<0.10.2
npm/@a2ui/web_core>=0.9.0<0.10.2
0.10.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@a2ui/web_core to a version that resolves this vulnerability.

    Fixed in 0.10.2
  2. Upgrade

    Upgrade @a2ui/web_core to a version that resolves this vulnerability.

    Fixed in 0.10.2

Event History

Aug 4, 2026
CVE Published
via MITRE·03:36 PM
Data Sourced
via MITRE·03:36 PM
DescriptionWeakness
Data Sourced
via OSV·03:36 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software
Oct 2, 2026
Advisory Published
via GitHub·10:55 PM
Data Sourced
via GitHub·10:55 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-10032?

CVE-2026-10032 has a medium severity rating of 6.1.

2

How do I fix CVE-2026-10032?

To fix CVE-2026-10032, validate the URI scheme before passing URLs to the window.open() function in the openUrl implementation.

3

What kind of attack does CVE-2026-10032 enable?

CVE-2026-10032 enables Arbitrary JavaScript Execution through an unvalidated agent-controlled URL.

4

What software is affected by CVE-2026-10032?

CVE-2026-10032 affects the npm package @a2ui/web_core.

5

What is the primary risk associated with CVE-2026-10032?

The primary risk associated with CVE-2026-10032 is the potential for Cross-Site Scripting (XSS) attacks due to the execution of untrusted JavaScript.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203