---
title: "CVE-2026-47252: Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS Chrome Plugin"
url: https://erroneo.us/security/cve/CVE-2026-47252/
description: "CVE-2026-47252 (github.com/julien040/anyquery/plugins/chrome (Go)): Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, authenticated…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-09-17
date_modified: 2026-09-17
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-47252"
kev: false
cvss: 9
epss: 0.00705
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-47252: Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS Chrome Plugin

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.7% , percentile 53: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 53% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes github.com/julien040/anyquery/plugins/chrome (Go) < 0.0.0-20240826075852-c651df0b8767, fixed in 0.0.0-20240826075852-c651df0b8767 ; github.com/julien040/anyquery/plugins/brave (Go) < 0.0.0-20240826075852-c651df0b8767, fixed in 0.0.0-20240826075852-c651df0b8767 ; github.com/julien040/anyquery/plugins/edge (Go) < 0.0.0-20240826075852-c651df0b8767, fixed in 0.0.0-20240826075852-c651df0b8767 ; github.com/julien040/anyquery/plugins/safari (Go) < 0.0.0-20240826075852-c651df0b8767, fixed in 0.0.0-20240826075852-c651df0b8767 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- Go `github.com/julien040/anyquery/plugins/chrome` < 0.0.0-20240826075852-c651df0b8767 → fixed: 0.0.0-20240826075852-c651df0b8767
- Go `github.com/julien040/anyquery/plugins/brave` < 0.0.0-20240826075852-c651df0b8767 → fixed: 0.0.0-20240826075852-c651df0b8767
- Go `github.com/julien040/anyquery/plugins/edge` < 0.0.0-20240826075852-c651df0b8767 → fixed: 0.0.0-20240826075852-c651df0b8767
- Go `github.com/julien040/anyquery/plugins/safari` < 0.0.0-20240826075852-c651df0b8767 → fixed: 0.0.0-20240826075852-c651df0b8767

## Affected products (CVE record)

- julien040 anyquery: < 0.4.5
- anyquery github.com/julien040/anyquery/plugins/brave: < 0.2.0
- anyquery github.com/julien040/anyquery/plugins/chrome: < 0.2.0
- anyquery github.com/julien040/anyquery/plugins/edge: < 0.2.0
- anyquery github.com/julien040/anyquery/plugins/reminders: < 0.2.0
- anyquery github.com/julien040/anyquery/plugins/safari: < 0.2.0

## Severity

- GitHub_M CVSS 3.1: 9 `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.0 `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.70% probability of exploitation activity in the next 30 days; percentile 53.

## Sources

- [GitHub Advisory GHSA-hrj8-hjv8-mgwc](https://github.com/advisories/GHSA-hrj8-hjv8-mgwc)
- [CVE.org record CVE-2026-47252](https://www.cve.org/CVERecord?id=CVE-2026-47252)
- [NVD entry CVE-2026-47252](https://nvd.nist.gov/vuln/detail/CVE-2026-47252)
- [github.com](https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc)
- [github.com](https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9)
- [github.com](https://github.com/julien040/anyquery/releases/tag/0.4.5)

---
Source page: https://erroneo.us/security/cve/CVE-2026-47252/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
