Skip to content
OpenAdvisories
High · 8.2 Public exploit CVE-2026-33331 EUVD-2026-20085GHSA-7f6v-3gx7-27q8

oRPC: Stored XSS in OpenAPI Reference Plugin via unescaped JSON.stringify

Published Mar 24, 2026 · Updated Mar 25, 2026 · Assigned by GitHub_M

Description

oRPC is an tool that helps build APIs that are end-to-end type-safe and adhere to OpenAPI standards. Prior to version 1.13.9, a stored cross-site scripting (XSS) vulnerability exists in the OpenAPI documentation generation of orpc. If an attacker can control any field within the OpenAPI specification (such as info.description), they can break out of the JSON context and execute arbitrary JavaScript when a user views the generated API documentation. This issue has been patched in version 1.13.9.

Affected products

VendorProductAffectedFixed
middleapi orpc < 1.13.9 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @orpc/openapi < 1.13.9 1.13.9 GHSA-7f6v-3gx7-27q8

References