Critical severity · published Sep 17, 2026
CVE-2026-47252
Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)
9.0
CVSS
0.7%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 53% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AN
anyquery · julien040
< 0.4.5 · source: vendor
GI
github.com/julien040/anyquery/plugins/brave · anyquery
< 0.2.0 · source: vendor
GI
github.com/julien040/anyquery/plugins/chrome · anyquery
< 0.2.0 · source: vendor
GI
github.com/julien040/anyquery/plugins/edge · anyquery
< 0.2.0 · source: vendor
GI
github.com/julien040/anyquery/plugins/reminders · anyquery
< 0.2.0 · source: vendor
GI
github.com/julien040/anyquery/plugins/safari · anyquery
< 0.2.0 · source: vendor
Affected product
GI
github.com/julien040/anyquery/plugins/brave
anyquery
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-47252
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-47252
github.com
https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9
github.com
https://github.com/julien040/anyquery/releases/tag/0.4.5
github.com
https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc
