{"cve":"CVE-2026-47252","nvd":{"published":"2026-09-17T19:16:48.083","modified":"2026-09-30T17:51:56.193","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.0},"cwes":["CWE-94"],"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","https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:55:23.253742848+00:00"},"epss":{"cve":"CVE-2026-47252","score":0.00705,"percentile":0.53056,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-hrj8-hjv8-mgwc","url":"https://osv.dev/vulnerability/GHSA-hrj8-hjv8-mgwc","summary":"Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS Chrome Plugin","modified":"2026-06-25T23:11:03.664404479Z","packages":[{"ecosystem":"Go","name":"github.com/julien040/anyquery/plugins/chrome","purl":"pkg:golang/github.com/julien040/anyquery/plugins/chrome","ranges":["<0.0.0-20240826075852-c651df0b8767"],"fixed":["0.0.0-20240826075852-c651df0b8767"]},{"ecosystem":"Go","name":"github.com/julien040/anyquery/plugins/brave","purl":"pkg:golang/github.com/julien040/anyquery/plugins/brave","ranges":["<0.0.0-20240826075852-c651df0b8767"],"fixed":["0.0.0-20240826075852-c651df0b8767"]},{"ecosystem":"Go","name":"github.com/julien040/anyquery/plugins/edge","purl":"pkg:golang/github.com/julien040/anyquery/plugins/edge","ranges":["<0.0.0-20240826075852-c651df0b8767"],"fixed":["0.0.0-20240826075852-c651df0b8767"]},{"ecosystem":"Go","name":"github.com/julien040/anyquery/plugins/safari","purl":"pkg:golang/github.com/julien040/anyquery/plugins/safari","ranges":["<0.0.0-20240826075852-c651df0b8767"],"fixed":["0.0.0-20240826075852-c651df0b8767"]}]},{"id":"GO-2026-5436","url":"https://osv.dev/vulnerability/GO-2026-5436","summary":"Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS Chrome Plugin in github.com/julien040/anyquery/plugins/brave","modified":"2026-06-25T23:00:17.318724567Z","packages":[{"ecosystem":"Go","name":"github.com/julien040/anyquery/plugins/brave","purl":"pkg:golang/github.com/julien040/anyquery/plugins/brave","ranges":["<0.0.0-20240826075852-c651df0b8767"],"fixed":["0.0.0-20240826075852-c651df0b8767"]},{"ecosystem":"Go","name":"github.com/julien040/anyquery/plugins/chrome","purl":"pkg:golang/github.com/julien040/anyquery/plugins/chrome","ranges":["<0.0.0-20240826075852-c651df0b8767"],"fixed":["0.0.0-20240826075852-c651df0b8767"]},{"ecosystem":"Go","name":"github.com/julien040/anyquery/plugins/edge","purl":"pkg:golang/github.com/julien040/anyquery/plugins/edge","ranges":["<0.0.0-20240826075852-c651df0b8767"],"fixed":["0.0.0-20240826075852-c651df0b8767"]},{"ecosystem":"Go","name":"github.com/julien040/anyquery/plugins/safari","purl":"pkg:golang/github.com/julien040/anyquery/plugins/safari","ranges":["<0.0.0-20240826075852-c651df0b8767"],"fixed":["0.0.0-20240826075852-c651df0b8767"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}