Vulnérabilités / CVE-2026-47252

critique

CVE-2026-47252

Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS Chrome Plugin

Publiée Modifiée CWE 94
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

GHSA9.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Le label propre à Trivy est CRITICAL. Critique selon GHSA.

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
go::GitHub Security Advisory Gogithub.com/julien040/anyquery/plugins/brave, github.com/julien040/anyquery/plugins/chrome, github.com/julien040/anyquery/plugins/edge et 1 autres0.0.0-20240826075852-c651df0b8767
Afficher les 4 entrées d'une source
SourcePaquetCorrigé en
go::GitHub Security Advisory Gogithub.com/julien040/anyquery/plugins/brave0.0.0-20240826075852-c651df0b8767
go::GitHub Security Advisory Gogithub.com/julien040/anyquery/plugins/chrome0.0.0-20240826075852-c651df0b8767
go::GitHub Security Advisory Gogithub.com/julien040/anyquery/plugins/edge0.0.0-20240826075852-c651df0b8767
go::GitHub Security Advisory Gogithub.com/julien040/anyquery/plugins/safari0.0.0-20240826075852-c651df0b8767

Références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.