CVE-2026-7299

CVE-2026-7299

Published Jun 2, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
Appsmith’s SQL query editor’s autocomplete functionality fails to sanitize database object names before rendering them in innerHTML, allowing an authenticated Developer to inject persistent XSS by a malicious table or column names triggering arbitrary code execution in the sessions of other workspace members when they interact with the same datasource.

Analysis

AI-generated

Technical impact

The bug lies in Appsmith’s SQL query editor autocomplete, which renders database object names into innerHTML without sanitization. An authenticated developer can create malicious table or column names that embed JavaScript. When another workspace member interacts with the same datasource, the stored script is executed in their browser, causing persistent cross‑site scripting that can compromise the confidentiality, integrity, and availability of the session.

Affected Systems

The vulnerability affects installations of Appsmith that are running versions prior to the v2.1 release referenced in the advisory. The issue was addressed in commit 99d6918 and the corresponding pull request, and is fixed in releases tagged v2.1 and later.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity. The exploit requires only that the attacker has a developer role with access to the SQL editor and the ability to create database objects. No network or privilege escalation barriers are noted, and the attack vector is local to the application. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting it is not a widely leveraged public exploit, but the impact for affected workspaces remains significant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Appsmith to the latest release (v2.1 or later) to apply the fix for the XSS vulnerability.
  • If an upgrade cannot be performed immediately, restrict developer users from creating or renaming database tables and columns with arbitrary names, or disable the SQL editor feature for untrusted users.
  • As a temporary measure, ensure that any table or column names entered through the editor are server‑side sanitized, escaping or removing characters that could form HTML or script tags before rendering the autocomplete suggestions.

Generated by OpenCVE AI on June 2, 2026 at 17:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:appsmith:appsmith:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
First Time appeared Appsmith
Appsmith appsmith
Vendors & Products Appsmith
Appsmith appsmith
Type Values Removed Values Added
Description Appsmith’s SQL query editor’s autocomplete functionality fails to sanitize database object names before rendering them in innerHTML, allowing an authenticated Developer to inject persistent XSS by a malicious table or column names triggering arbitrary code execution in the sessions of other workspace members when they interact with the same datasource.
Title CVE-2026-7299
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Jun 2, 2026, 6:17 PM
Reserved
Apr 28, 2026, 11:32 AM
Status
Analyzed
Published
Jun 2, 2026, 4:16 PM
Modified
Jul 22, 2026, 7:10 PM