Skip to main content
← All vulnerabilities
CVE-2026-33331GHSA-7F6V-3GX7-27Q8

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.13.9
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • middleapi orpc

    fixed in 1.13.9

  • @orpc/openapinpm

    fixed in 1.13.9

References 4

GitHub · middleapi/orpc

GitHub · abhayclasher/CVE-2026-33331