CVE-2026-47252
published critical CVSS 3.1 · 9.0Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| julien040 | — | anyquery< 0.4.5 | Affected | Not stated | GitHub_M |
| anyquery | — | github.com/julien040/anyquery/plugins/brave< 0.2.0 | Affected | Not stated | GitHub_M |
| anyquery | — | github.com/julien040/anyquery/plugins/chrome< 0.2.0 | Affected | Not stated | GitHub_M |
| anyquery | — | github.com/julien040/anyquery/plugins/edge< 0.2.0 | Affected | Not stated | GitHub_M |
| anyquery | — | github.com/julien040/anyquery/plugins/reminders< 0.2.0 | Affected | Not stated | GitHub_M |
| anyquery | — | github.com/julien040/anyquery/plugins/safari< 0.2.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| julien040 | anyquery | < 0.4.5 (affected) | GitHub_M · cna |
| anyquery | github.com/julien040/anyquery/plugins/brave | < 0.2.0 (affected) | GitHub_M · cna |
| anyquery | github.com/julien040/anyquery/plugins/chrome | < 0.2.0 (affected) | GitHub_M · cna |
| anyquery | github.com/julien040/anyquery/plugins/edge | < 0.2.0 (affected) | GitHub_M · cna |
| anyquery | github.com/julien040/anyquery/plugins/reminders | < 0.2.0 (affected) | GitHub_M · cna |
| anyquery | github.com/julien040/anyquery/plugins/safari | < 0.2.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
3Provider assertions
2GitHub_M · cna
Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2a5764f4027c80e91a6738c0fba8c361632d64a226e540ab2fd5a47a78cb3814
- Ingested
- 23 Sep 2026, 09:16:58 UTC
- Source record
- Official CVE record