Medium severity · published Mar 24, 2026
CVE-2026-33331
oRPC: Stored XSS in OpenAPI Reference Plugin via unescaped JSON.stringify
5.4
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 22% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OR
orpc · middleapi
< 1.13.9 · source: vendor, NVD
Affected product
OR
orpc
middleapi
More from orpc
9.8
CVE-2026-28794
oRPC: Prototype Pollution in `@orpc/client` via `StandardRPCJsonSerializer` Deserialization
6.5
CVE-2026-103918
@orpc/zod: Prototype injection in smart coercion
6.5
CVE-2026-103036
@orpc/json-schema: Prototype injection in smart coercion
6.3
CVE-2026-77360
oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass