Read the docs
TI-2026-25741 Aliases CVE-2026-33331GHSA-7f6v-3gx7-27q8

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

Priority HIGH 69CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00293 21st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed orpc (middleapi): 1.13.9@orpc/openapi (npm): 1.13.9

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
middleapiorpcbefore 1.13.91.13.9Patch availableCNA
—@orpc/openapi (npm)before 1.13.91.13.9Patch availableGHSA-7f6v-3gx7-27q8
  • orpc Vendormiddleapi Affected before 1.13.9 Fixed in 1.13.9 Patch available CNA
  • @orpc/openapi (npm) Vendor— Affected before 1.13.9 Fixed in 1.13.9 Patch available GHSA-7f6v-3gx7-27q8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:orpc:orpc:*:*:*:*:*:*:*:*before 1.13.9VulnerableOrpc
  • cpe:2.3:a:orpc:orpc:*:*:*:*:*:*:*:* Versions before 1.13.9 Vulnerable ·Orpc

Remediation

  • Fix · CNA orpc (middleapi) Fixed in 1.13.9
  • Fix · GHSA-7f6v-3gx7-27q8 @orpc/openapi (npm) Fixed in 1.13.9 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-33331
  2. 2026-10-03 Alias added: GHSA-7f6v-3gx7-27q8

References

  • TI-2026-53979 oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass CVSS 4.0MEDIUM 6.3
  • TI-2026-66040 @orpc/zod: Prototype injection in smart coercion CVSS 3.1MEDIUM 6.5
  • TI-2026-66014 @orpc/json-schema: Prototype injection in smart coercion CVSS 3.1MEDIUM 6.5

Sources