{"api_version":"1","generated_at":"2026-09-21T11:37:04+00:00","cve":"CVE-2026-47252","urls":{"html":"https://cve.report/CVE-2026-47252","api":"https://cve.report/api/cve/CVE-2026-47252.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-47252","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-47252"},"summary":{"title":"Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-09-17 19:16:48","updated_at":"2026-09-17 20:16:49"},"problem_types":["CWE-94","CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"9","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","baseScore":9,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"9","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9","name":"https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/julien040/anyquery/releases/tag/0.4.5","name":"https://github.com/julien040/anyquery/releases/tag/0.4.5","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc","name":"https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-47252","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47252","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"julien040","product":"anyquery","version":"affected < 0.4.5","platforms":[]},{"source":"CNA","vendor":"anyquery","product":"github.com/julien040/anyquery/plugins/brave","version":"affected < 0.2.0","platforms":[]},{"source":"CNA","vendor":"anyquery","product":"github.com/julien040/anyquery/plugins/chrome","version":"affected < 0.2.0","platforms":[]},{"source":"CNA","vendor":"anyquery","product":"github.com/julien040/anyquery/plugins/edge","version":"affected < 0.2.0","platforms":[]},{"source":"CNA","vendor":"anyquery","product":"github.com/julien040/anyquery/plugins/reminders","version":"affected < 0.2.0","platforms":[]},{"source":"CNA","vendor":"anyquery","product":"github.com/julien040/anyquery/plugins/safari","version":"affected < 0.2.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"47252","cve":"CVE-2026-47252","epss":"0.004470000","percentile":"0.382500000","score_date":"2026-09-20","updated_at":"2026-09-21 00:10:10"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-47252","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-09-17T19:11:46.878638Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-09-17T19:12:07.053Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"anyquery","vendor":"julien040","versions":[{"status":"affected","version":"< 0.4.5"}]},{"product":"github.com/julien040/anyquery/plugins/brave","vendor":"anyquery","versions":[{"status":"affected","version":"< 0.2.0"}]},{"product":"github.com/julien040/anyquery/plugins/chrome","vendor":"anyquery","versions":[{"status":"affected","version":"< 0.2.0"}]},{"product":"github.com/julien040/anyquery/plugins/edge","vendor":"anyquery","versions":[{"status":"affected","version":"< 0.2.0"}]},{"product":"github.com/julien040/anyquery/plugins/reminders","vendor":"anyquery","versions":[{"status":"affected","version":"< 0.2.0"}]},{"product":"github.com/julien040/anyquery/plugins/safari","vendor":"anyquery","versions":[{"status":"affected","version":"< 0.2.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-17T18:17:43.939Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc"},{"name":"https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9","tags":["x_refsource_MISC"],"url":"https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9"},{"name":"https://github.com/julien040/anyquery/releases/tag/0.4.5","tags":["x_refsource_MISC"],"url":"https://github.com/julien040/anyquery/releases/tag/0.4.5"}],"source":{"advisory":"GHSA-hrj8-hjv8-mgwc","discovery":"UNKNOWN"},"title":"Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-47252","datePublished":"2026-09-17T18:17:43.939Z","dateReserved":"2026-05-18T22:54:18.273Z","dateUpdated":"2026-09-17T19:12:07.053Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 19:16:48","lastModifiedDate":"2026-09-17 20:16:49","problem_types":["CWE-94","CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","baseScore":9,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.3,"impactScore":6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-17T19:11:46.878638Z","id":"CVE-2026-47252","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"47252","Ordinal":"1","Title":"Anyquery: AppleScript/JXA Code Injection via Unescaped URL in ma","CVE":"CVE-2026-47252","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"47252","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Anyquery: AppleScript/JXA Code Injection via Unescaped URL in ma"}]}}}