Description
@refinedev/inferencer through 7.0.0 fails to escape API field names when interpolating them into generated JSX source code. Attackers controlling the data provider can inject malicious JavaScript through crafted JSON property names that execute in the developer's browser when the Inferencer page renders.
Published: 2026-09-16
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Client‑side JavaScript execution
Action: Immediate Patch
AI Analysis

Impact

@refinedev/inferencer through 7.0.0 fails to escape API field names when interpolating them into generated JSX source code. If an attacker controls the data provider, they can craft JSON property names that contain malicious JavaScript. When the Inferencer page renders in a developer's browser, these scripts execute, giving the attacker code‑execution capability within the page context. This bug aligns with CWE‑94, where untrusted input is processed as code, and results in a high‑severity client‑side code injection.

Affected Systems

The vulnerable component is the refine framework’s inferencer package, version 7.0.0 or earlier, distributed under the refinedev repository. Any project that includes @refinedev/inferencer and consumes data from an untrusted source is potentially affected. The estimate does not list specific downstream products, but any application built with refine that relies on inferencer and connects to an external API falls within scope.

Risk and Exploitability

The CVSS score of 7.7 categorizes the issue as high severity. The EPSS score is less than 1 %, indicating a very low current exploitation probability, and the vulnerability is not listed in CISA's KEV catalog. The likely attack vector is network, where an attacker who can supply or modify the JSON returned by an API can inject dangerous field names that become part of the rendered JSX and run in any developer’s browser visiting the page. Successful exploitation would grant the attacker the ability to execute arbitrary JavaScript in the page’s context, potentially exfiltrating data or hijacking the user session.

Generated by OpenCVE AI on September 18, 2026 at 05:59 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade @refinedev/inferencer to a version newer than 7.0.0 that includes the applied escaping fix
  • Validate and sanitize all API field names against a whitelist of allowed characters before sending them to inferencer
  • If an upgrade is not immediately possible, restrict inferencer usage to trusted internal data providers and avoid dynamic field name rendering

Generated by OpenCVE AI on September 18, 2026 at 05:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 18 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Refinedev
Refinedev @refinedev/inferencer
Vendors & Products Refinedev
Refinedev @refinedev/inferencer

Thu, 17 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 16 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
Description @refinedev/inferencer through 7.0.0 fails to escape API field names when interpolating them into generated JSX source code. Attackers controlling the data provider can inject malicious JavaScript through crafted JSON property names that execute in the developer's browser when the Inferencer page renders.
Title @refinedev/inferencer through 7.0.0 Code Injection via API Field Names
Weaknesses CWE-94
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Refinedev @refinedev/inferencer
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-17T19:24:55.589Z

Reserved: 2026-09-16T19:22:54.895Z

Link: CVE-2026-92784

cve-icon Vulnrichment

Updated: 2026-09-17T18:57:21.768Z

cve-icon NVD

Status : Deferred

Published: 2026-09-16T21:17:27.580

Modified: 2026-09-24T21:08:55.030

Link: CVE-2026-92784

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-18T20:03:17Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')