Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| julien040 | anyquery | affected |
|
||||||
| anyquery | github.com/julien040/anyquery/plugins/brave | affected |
|
||||||
| anyquery | github.com/julien040/anyquery/plugins/chrome | affected |
|
||||||
| anyquery | github.com/julien040/anyquery/plugins/edge | affected |
|
||||||
| anyquery | github.com/julien040/anyquery/plugins/reminders | affected |
|
||||||
| anyquery | github.com/julien040/anyquery/plugins/safari | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Julien040 | Anyquery |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-hrj8-hjv8-mgwc | Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS Chrome Plugin |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.705% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Julien040
Julien040 anyquery |
|
| Vendors & Products |
Julien040
Julien040 anyquery |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari) | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV3_1
|