Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-47252
Published:June 09, 2026
Updated:August 27, 2026
The "chrome_tabs" plugin (and equivalent Brave/Edge/Safari variants) interpolates a SQL-controlled "url" value directly into an AppleScript template via "fmt.Sprintf(newTabScript, url)" at "plugins/chrome/tabs.go:141" without any escaping, then passes the result to "exec.Command("osascript", "-e", ...)". An authenticated anyquery user who can issue SQL "INSERT INTO chrome_tabs" statements — which requires local CLI access — can break out of the "{URL:"..."}" property record with a newline-containing payload and inject arbitrary AppleScript statements, including "do shell script", achieving OS-level command execution on the macOS host. The same pattern applies to the "Update" path at "tabs.go:169" via the JXA "setURL.js" script.
Affected Packages
github.com/julien040/anyquery/plugins/edge (GO):
Affected version(s) >=v0.0.0-20240720163712-d2ecb36e6375 <v0.0.0-20240826075852-c651df0b8767
Fix Suggestion:
Update to version v0.0.0-20240826075852-c651df0b8767
github.com/julien040/anyquery/plugins/chrome (GO):
Affected version(s) >=v0.0.0-20240720163712-d2ecb36e6375 <v0.0.0-20240826075852-c651df0b8767
Fix Suggestion:
Update to version v0.0.0-20240826075852-c651df0b8767
github.com/julien040/anyquery/plugins/brave (GO):
Affected version(s) >=v0.0.0-20240720163712-d2ecb36e6375 <v0.0.0-20240826075852-c651df0b8767
Fix Suggestion:
Update to version v0.0.0-20240826075852-c651df0b8767
github.com/julien040/anyquery/plugins/safari (GO):
Affected version(s) >=v0.0.0-20240720163712-d2ecb36e6375 <v0.0.0-20240826075852-c651df0b8767
Fix Suggestion:
Update to version v0.0.0-20240826075852-c651df0b8767
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.05