CVE-2026-47252
Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)
Also known as GHSA-hrj8-hjv8-mgwc, GO-2026-5436
Mitigation
- Upgrade github.com/julien040/anyquery/plugins/chrome to 0.0.0-20240826075852-c651df0b8767 or later.
- Upgrade github.com/julien040/anyquery/plugins/brave to 0.0.0-20240826075852-c651df0b8767 or later.
- Upgrade github.com/julien040/anyquery/plugins/edge to 0.0.0-20240826075852-c651df0b8767 or later.
- Upgrade github.com/julien040/anyquery/plugins/safari to 0.0.0-20240826075852-c651df0b8767 or later.
Who should check
- Projects that depend on Go package github.com/julien040/anyquery/plugins/chrome (< 0.0.0-20240826075852-c651df0b8767)
- Projects that depend on Go package github.com/julien040/anyquery/plugins/brave (< 0.0.0-20240826075852-c651df0b8767)
- Projects that depend on Go package github.com/julien040/anyquery/plugins/edge (< 0.0.0-20240826075852-c651df0b8767)
- Projects that depend on Go package github.com/julien040/anyquery/plugins/safari (< 0.0.0-20240826075852-c651df0b8767)
- Anyone running julien040 anyquery < 0.4.5
- Anyone running github.com/julien040/anyquery/plugins/brave < 0.2.0
- Anyone running github.com/julien040/anyquery/plugins/chrome < 0.2.0
- Anyone running github.com/julien040/anyquery/plugins/edge < 0.2.0
Vulnerability facts
- Affected
- github.com/julien040/anyquery/plugins/chrome < 0.0.0-20240826075852-c651df0b8767; github.com/julien040/anyquery/plugins/brave < 0.0.0-20240826075852-c651df0b8767; github.com/julien040/anyquery/plugins/edge < 0.0.0-20240826075852-c651df0b8767; github.com/julien040/anyquery/plugins/safari < 0.0.0-20240826075852-c651df0b8767
- Fixed in
- 0.0.0-20240826075852-c651df0b8767
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 9.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.70% chance of exploitation in 30 days (percentile 49, 2026-11-26)
- CWE
- CWE-94
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 | osv |
| julien040 anyquery | < 0.4.5 | — | cvelist |
| github.com/julien040/anyquery/plugins/brave | < 0.2.0 | — | cvelist |
| github.com/julien040/anyquery/plugins/chrome | < 0.2.0 | — | cvelist |
| github.com/julien040/anyquery/plugins/edge | < 0.2.0 | — | cvelist |
| github.com/julien040/anyquery/plugins/reminders | < 0.2.0 | — | cvelist |
| github.com/julien040/anyquery/plugins/safari | < 0.2.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-47252. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-47252.md Affected: github.com/julien040/anyquery/plugins/chrome < 0.0.0-20240826075852-c651df0b8767; github.com/julien040/anyquery/plugins/brave < 0.0.0-20240826075852-c651df0b8767; github.com/julien040/anyquery/plugins/edge < 0.0.0-20240826075852-c651df0b8767; github.com/julien040/anyquery/plugins/safari < 0.0.0-202… Fixed in: 0.0.0-20240826075852-c651df0b8767 Steps: 1. Search this machine and project for github.com/julien040/anyquery/plugins/chrome (Go), github.com/julien040/anyquery/plugins/brave (Go), github.com/julien040/anyquery/plugins/edge (Go), github.com/julien040/anyquery/plugins/safari (Go), julien040 anyquery, github.com/julien040/anyquery/plugins/brave: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-47252 being exploited?
There is no confirmed exploitation: CVE-2026-47252 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-47252?
Critical: CVSS 9.0 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-47252?
github.com/julien040/anyquery/plugins/chrome < 0.0.0-20240826075852-c651df0b8767; github.com/julien040/anyquery/plugins/brave < 0.0.0-20240826075852-c651df0b8767; github.com/julien040/anyquery/plugins/edge < 0.0.0-20240826075852-c651df0b8767; github.com/julien040/anyquery/plugins/safari < 0.0.0-20240826075852-c651df0b8767.
Is there a fix for CVE-2026-47252?
Yes. Fixed in 0.0.0-20240826075852-c651df0b8767. Upgrade github.com/julien040/anyquery/plugins/chrome to 0.0.0-20240826075852-c651df0b8767 or later. Upgrade github.com/julien040/anyquery/plugins/brave to 0.0.0-20240826075852-c651df0b8767 or later. Upgrade github.com/julien040/anyquery/plugins/edge to 0.0.0-20240826075852-c651df0b8767 or later. Upgrade github.com/julien040/anyquery/plugins/safari to 0.0.0-20240826075852-c651df0b8767 or later.
How do I check if I'm affected by CVE-2026-47252?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.