CVE-2026-33331 oRPC: Stored XSS in OpenAPI Reference Plugin via unescaped JSON.stringify
MediumCVSS 5.4
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| middleapi orpc | = < 1.13.9 | No fix listed |
| orpc @orpc/openapi(npm) | <= 1.13.8 | No fix listed |
| orpc | < 1.13.9 | 1.13.9 |
| orpc @orpc/openapi(npm) | < 1.13.9 | 1.13.9 |
References
- https://github.com/middleapi/orpc/security/advisories/GHSA-7f6v-3gx7-27q8 exploit mitigation vendor-advisory
- https://github.com/middleapi/orpc/commit/4f0efa8a1d3fa8e8317a4b03cc3945a5dfd68add patch
- https://github.com/middleapi/orpc/releases/tag/v1.13.9 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product