CVE-2026-92784 in inferencerinfo

Summary

by MITRE • 09/16/2026

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

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 09/16/2026

The vulnerability identified within @refinedev/inferencer versions up to 7.0.0 represents a critical server-side code injection flaw rooted in improper neutralization of user input during dynamic source code generation. The inferencer component is designed to automatically generate React components based on API schemas, allowing developers to rapidly scaffold application interfaces without manual coding. However, the implementation fails to properly sanitize or escape field names retrieved from the data provider before interpolating them into JSX syntax structures. This architectural oversight creates a direct pathway for malicious actors who control the underlying data source to inject arbitrary JavaScript code that executes within the context of the developer's browser environment during the rendering process.

From a technical perspective, this flaw is classified under CWE-79, which covers Improper Neutralization of Input During Web Page Generation commonly known as Cross-Site Scripting or XSS. Specifically, it manifests as an injection vulnerability where untrusted data derived from API field names is treated as executable code rather than static text content. When the inferencer processes a JSON payload containing specially crafted property keys, these keys are directly embedded into the generated JavaScript source files without adequate escaping mechanisms such as HTML entity encoding or string literal sanitization. Consequently, if an attacker can manipulate the schema returned by the API provider to include script tags or executable expressions within field names, this code becomes part of the compiled application bundle and executes when the developer views the inferred page in their development environment.

The operational impact of this vulnerability is severe due to its specific target audience: software developers using the inferencer tool for rapid prototyping and interface generation. Unlike typical end-user XSS attacks that affect general website visitors, this flaw targets the development workflow itself. An attacker who controls or compromises a data provider service can force the developer's browser to execute malicious scripts whenever they load an inferred page. This execution occurs in the context of the developer’s local environment, potentially granting the attacker access to sensitive information stored in cookies, local storage, or session tokens associated with the development server. Furthermore, it enables potential remote code execution scenarios if combined with other vulnerabilities in the surrounding tooling ecosystem, allowing for complete compromise of the developer's machine through malicious payloads designed to exfiltrate source code repositories or install persistent backdoors.

This vulnerability aligns closely with MITRE ATT&CK technique T1059.007, which refers to JavaScript Execution within browser environments, and can be viewed as a precursor to more advanced attacks such as supply chain compromise where malicious code is injected into the development pipeline itself. The risk is exacerbated by the fact that inferencer tools are often used in trusted internal networks or local development setups where security controls like Content Security Policy may be relaxed or disabled for debugging purposes, thereby lowering the barrier for successful exploitation.

Mitigation strategies must focus on strict input validation and output encoding at the point of source code generation. Developers should ensure that any field names extracted from external APIs are validated against a whitelist of allowed characters before being used in JSX interpolation. Implementing robust sanitization routines that escape special JavaScript characters such as quotes, backslashes, and angle brackets is essential to prevent these values from breaking out of their intended string context. Additionally, upgrading to patched versions of the library where this issue has been resolved by implementing proper escaping mechanisms for dynamic identifiers is the primary remediation path. For organizations relying on third-party data providers, it is crucial to enforce schema validation contracts that restrict property naming conventions and reject any payloads containing suspicious patterns indicative of code injection attempts.

Responsible

VulnCheck

Reservation

09/16/2026

Disclosure

09/16/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!