CVEfocus › CVE database › CVE-2026-47252

CVE-2026-47252Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave,…

CVSS 9.0 CriticalEPSS 0.7% (higher than 49% of CVEs)Published 2026-09-17Updated 2026-09-17Assigner: GitHub_M

Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, authenticated users with INSERT or UPDATE access to affected macOS virtual tables can execute operating-system commands because the Chrome plugin and equivalent Brave, Edge, and Safari variants interpolate a SQL-controlled URL into AppleScript or JXA source passed to osascript. In plugins/chrome/tabs.go, tabsTable.Insert() passes the URL through fmt.Sprintf(newTabScript, url), and tabsTable.Update() uses fmt.Sprintf(setURLScript, pk, url). A URL containing quote and newline characters can break out of the intended string or property record and append script statements, resulting in arbitrary command execution with the privileges of the anyquery process on the macOS host. This issue is fixed in version 0.4.5.

CWE-94

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Go librarygithub.com/julien040/anyquery/plugins/braveFixed0.0.0-20240826075852-c651df0b8767GO-2026-5436
Go librarygithub.com/julien040/anyquery/plugins/chromeFixed0.0.0-20240826075852-c651df0b8767GHSA-hrj8-hjv8-mgwc
Go librarygithub.com/julien040/anyquery/plugins/edgeFixed0.0.0-20240826075852-c651df0b8767GHSA-hrj8-hjv8-mgwc
Go librarygithub.com/julien040/anyquery/plugins/safariFixed0.0.0-20240826075852-c651df0b8767GO-2026-5436

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.