npm package report

Is @a2ui/web_core safe?

1 known vulnerability, worst severity CRITICAL.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


      cvss
      0.0
      medium

      severity out of 10

      epss
      0.00%
      low

      chance of exploitation in 30 days, 2nd percentile of all CVEs

      xyz score
      0.0
      medium

      CyberXYZ composite out of 10

      fig. 01 — GHSA-72qq-p3r5-f7wq, the advisory selected below

      // 1 advisories

      GHSA-72qq-p3r5-f7wq

      CRITICALCVE-2026-10032
      // 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 23a003248abb).

      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/basicfunctionsapi.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:

      • renderers/webcore/src/v09/basiccatalog/components/basiccomponents.ts:356 — ButtonApi accepts action: ActionSchema (entry point).
      • renderers/webcore/src/v09/schema/common-types.ts:126-130 — ActionSchema permits { functionCall: FunctionCallSchema }.
      • renderers/webcore/src/v09/rendering/generic-binder.ts:243-255 — on click, bound action calls resolveDeepSync then dispatchAction.
      • renderers/webcore/src/v09/rendering/data-context.ts:93-105 — resolveDynamicValue detects the call key and invokes the named function.
      • renderers/webcore/src/v09/catalog/types.ts:177-186 — catalog invoker runs fn.schema.parse(rawArgs) then fn.execute().
      • renderers/webcore/src/v09/basiccatalog/functions/basicfunctionsapi.ts:453-458 — OpenUrlApi validates url as z.string() only (no scheme check).
      • 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.

      // cvss v3.1 vector

      CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

      Attack vector
      Network
      Attack complexity
      Low
      Privileges required
      None
      User interaction
      Required
      Scope
      Changed
      Confidentiality
      High
      Integrity
      High
      Availability
      None

      Checked 2026-10-04 at 01:13 UTC. The most recent advisory here was published 2026-10-02. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.