Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-10032

@a2ui/web_core: `openUrl` permits `javascript:` URI execution via agent-supplied button actions
Back to all
CVE

CVE-2026-10032

@a2ui/web_core: `openUrl` permits `javascript:` URI execution via agent-supplied button actions

Summary

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. 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/web_core (commit 23a003248abbf59da6c376ea64ace91d82d209ff).

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

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/basicfunctions_api.ts:453-458:

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/basicfunctions_api.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/v0_9/catalog/basic/components/Button.tsx:33 — onClick={props.action}  
  • Lit: renderers/lit/src/v0_9/catalogs/basic/components/Button.ts:112 — @click=${() => props.action()}  
  • Angular: renderers/angular/src/v0_9/catalog/basic/button.component.ts:103-110 — handleClick() → dataContext.resolveAction → dispatchAction

Any other A2UI renderer which depends on web_core 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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
6.1
-
4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
C
H
U
9.3
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Related Resources

No items found.

References

https://github.com/a2ui-project/a2ui/security/advisories/GHSA-72qq-p3r5-f7wq, https://nvd.nist.gov/vuln/detail/CVE-2026-10032, https://github.com/a2ui-project/a2ui/pull/1707, https://github.com/a2ui-project/a2ui/commit/71573078c4168b2dc166bb847c3a85715dadc675, https://github.com/a2ui-project/a2ui

Severity

9.3

CVSS Score
0
10

Basic Information

Base CVSS
9.3
EPSS Probability
0.00125%
EPSS Percentile
0.02216%
Introduced Version
0.9.0
Fix Available
0.10.2

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading