CVE-2026-33331

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

Published Mar 24, 2026 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-7f6v-3gx7-27q8 oRPC has Stored XSS in OpenAPI Reference Plugin via unescaped JSON.stringify
History
Type Values Removed Values Added
First Time appeared Orpc
Orpc orpc
CPEs cpe:2.3:a:orpc:orpc:*:*:*:*:*:*:*:*
Vendors & Products Orpc
Orpc orpc
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Middleapi
Middleapi orpc
Vendors & Products Middleapi
Middleapi orpc
Type Values Removed Values Added
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.
Title oRPC: Stored XSS in OpenAPI Reference Plugin via unescaped JSON.stringify
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 25, 2026, 1:34 PM
Reserved
Mar 18, 2026, 10:15 PM
Status
Analyzed
Published
Mar 24, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:37 AM