Skip to content
Threat Feed
high advisory

Cross-Site Scripting via @refinedev/inferencer

The @refinedev/inferencer package versions through 7.0.0 are vulnerable to an injection attack where malicious JSON property names are improperly escaped during JSX code generation, leading to arbitrary JavaScript execution in the developer's browser.

CVE search metadata

CVE search record: CVE-2026-92784. Severity: high. CVSS: 7.5. KEV: no. Product: inferencer (<= 7.0.0). Brief: Cross-Site Scripting via @refinedev/inferencer. Brief link: https://feed.craftedsignal.io/briefs/2026-09-refinedev-inferencer-xss/

The @refinedev/inferencer package, used for automating the generation of views and forms based on API data structures, contains a critical security flaw (CVE-2026-92784) in versions through 7.0.0. The vulnerability stems from improper neutralization of input data when the package interpolates API field names into generated JSX source code.

An attacker capable of influencing the data returned by the application's data provider can inject malicious JavaScript payloads within JSON property names. When a developer utilizes the Inferencer feature to render a page based on this data, the payload is injected directly into the component source code. This results in Cross-Site Scripting (XSS) executing in the context of the developer's browser environment. This vulnerability is significant for development environments where Inferencer is used to parse untrusted or externally sourced API responses, potentially leading to unauthorized data access or session hijacking within the development environment.

Impact

Successful exploitation allows for the execution of arbitrary JavaScript within the developer's browser when they interact with the Inferencer-generated interface. This can lead to the compromise of local development session tokens, exfiltration of local sensitive data, or unauthorized actions performed on behalf of the developer. As the tool is often used to parse API schemas during development, this impacts software supply chain security and the integrity of the local development environment.

Recommendation

Prioritize the update of the @refinedev/inferencer package to a version that addresses CVE-2026-92784. If an immediate update is not feasible, restrict the use of the Inferencer component to data providers that are trusted and verified, ensuring that JSON property names in API responses do not contain arbitrary or user-controllable input.

Mitigations

Upgrade @refinedev/inferencer to a patched version beyond 7.0.0

immediate Development Team

CVE-2026-92784