CVE-2026-47252Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)
Updated under an hour ago ()
Does this affect you?
It affects julien040 anyquery and 5 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 9.0 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- Weakness (CWE)
- CWE-94
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Sep 17, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
julien040 anyquery julien040:anyquery (from the name) | before 0.4.5 | CNA record |
anyquery github.com/julien040/anyquery/plugins/brave anyquery:github.com_julien040_anyquery_plugins_brave (from the name) | before 0.2.0 | CNA record |
anyquery github.com/julien040/anyquery/plugins/chrome anyquery:github.com_julien040_anyquery_plugins_chrome (from the name) | before 0.2.0 | CNA record |
anyquery github.com/julien040/anyquery/plugins/edge anyquery:github.com_julien040_anyquery_plugins_edge (from the name) | before 0.2.0 | CNA record |
anyquery github.com/julien040/anyquery/plugins/reminders anyquery:github.com_julien040_anyquery_plugins_reminders (from the name) | before 0.2.0 | CNA record |
anyquery github.com/julien040/anyquery/plugins/safari anyquery:github.com_julien040_anyquery_plugins_safari (from the name) | before 0.2.0 | CNA record |
References
- https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwcx-refsource-confirm
- https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9x-refsource-misc
- https://github.com/julien040/anyquery/releases/tag/0.4.5x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.