CVE-2026-92784

@refinedev/inferencer through 7.0.0 Code Injection via API Field Names

Published Sep 16, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
First Time appeared Refinedev
Refinedev @refinedev/inferencer
Vendors & Products Refinedev
Refinedev @refinedev/inferencer
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 17, 2026, 7:24 PM
Reserved
Sep 16, 2026, 7:22 PM
Status
Deferred
Published
Sep 16, 2026, 9:17 PM
Modified
Sep 24, 2026, 9:08 PM