Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-47252— Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)

Quick assessment

Affected
julien040 anyquery
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Anyquery 是构建在 SQLite 之上的 SQL 查询引擎。在 0.4.5 版本之前,拥有对受影响的 macOS 虚拟表进行 INSERT 或 UPDATE 权限的已认证用户,可以通过在传递给 的 AppleScript 或 JXA 源码中插入由 SQL 控制的 URL 来执行操作系统命令。具体而言,在 文件中, 通过 将 URL 插入脚本,而 使用 处理更新操作。如果 URL 中包含引号或换行符,就可能突破原有的字符串或属性记录边界,从而追加额外的脚本语句,进而在 macOS 主机上以 anyquery

CVSS 9.0 · Critical EPSS 0.45% · P38
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-47252

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5

Affected Products

II. Public POCs for CVE-2026-47252

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-47252

登录查看更多情报信息。

Patches & Fixes for CVE-2026-47252 (1)

Vendor Advisories for CVE-2026-47252 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-47252

No comments yet


Leave a comment