Skip to main content
VulnerabilityPublished Updated

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

Affects @a2ui/web_coreSource GCVE Database

0

CVSS 6.1 Medium.

Data as of 3 Oct 2026, 17:39 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What to do

Affected software

ProductAffectedFixed in
npm@a2ui/web_coreAffected
  • >=0.9.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid using untrusted input in the openUrl function or implement strict validation of URL schemes to prevent javascript: URIs from being passed to window.open().

Description

The openUrl function in the @a2ui/web_core package allows an agent-controlled URL to be passed directly to window.open() without validating the URI scheme. This enables a malicious agent to supply a javascript: URI via a Button component's functionCall action, causing arbitrary JavaScript execution in the victim application's browser context. This vulnerability represents a stored or reflected cross-site scripting (XSS) issue with medium severity. It affects versions 0.9.0 and later. No non-default configuration is required, as the Basic Catalog is enabled by default. There is no indication of a patch or fix currently available. The advisory is a duplicate and references GHSA-72qq-p3r5-f7wq for the original report.

References

Community reviews

Loading reviews…