CVE-2026-47252
CRITICAL 9.0CVSS 3.1Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS Chrome Plugin
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.
- Published
- 17 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-94
- Also known as
- GHSA-hrj8-hjv8-mgwcGO-2026-5436
- Sources
- NVDJSONOSV GHSA-hrj8-hjv8-mgwcJSONOSV GO-2026-5436JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/julien040/anyquery/plugins/chrome | < 0.0.0-20240826075852-c651df0b8767 | 0.0.0-20240826075852-c651df0b8767 |
| OSV | Go | github.com/julien040/anyquery/plugins/brave | < 0.0.0-20240826075852-c651df0b8767 | 0.0.0-20240826075852-c651df0b8767 |
| OSV | Go | github.com/julien040/anyquery/plugins/edge | < 0.0.0-20240826075852-c651df0b8767 | 0.0.0-20240826075852-c651df0b8767 |
| OSV | Go | github.com/julien040/anyquery/plugins/safari | < 0.0.0-20240826075852-c651df0b8767 | 0.0.0-20240826075852-c651df0b8767 |
References
- https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9
- https://github.com/julien040/anyquery/releases/tag/0.4.5
- https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc · WEB, ADVISORY
- https://github.com/julien040/anyquery · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 17 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jun 2026)