CVE-2026-47252Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)
- 9.0CriticalCVSS base score
- 0.70%Exploitation in 30 daysEPSS · top 46% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 4 months later
· 4 months later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | Critical9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.70% · top 46% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.0.
Affected products
- affected < 0.4.5
anyquery · github.com/julien040/anyquery/plugins/brave
- affected < 0.2.0
anyquery · github.com/julien040/anyquery/plugins/chrome
- affected < 0.2.0
anyquery · github.com/julien040/anyquery/plugins/edge
- affected < 0.2.0
anyquery · github.com/julien040/anyquery/plugins/reminders
- affected < 0.2.0
anyquery · github.com/julien040/anyquery/plugins/safari
- affected < 0.2.0
Affected packages
Affected packages4
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/julien040/anyquery/plugins/braveGHSA-hrj8-hjv8-mgwc (opens in a new tab)
- Gogithub.com/julien040/anyquery/plugins/chromeGHSA-hrj8-hjv8-mgwc (opens in a new tab)
- Gogithub.com/julien040/anyquery/plugins/edgeGHSA-hrj8-hjv8-mgwc (opens in a new tab)
- Gogithub.com/julien040/anyquery/plugins/safariGHSA-hrj8-hjv8-mgwc (opens in a new tab)
References
References3
- https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9 (opens in a new tab)x_refsource_MISC
- https://github.com/julien040/anyquery/releases/tag/0.4.5 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-82367 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hrj8-hjv8-mgwc (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-47252)Record last updated .