CVE 8.2 HIGH

oRPC: Stored XSS in OpenAPI Reference Plugin via unescaped JSON.stringify_CVE-2026-33331

8.2 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

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.

Basic Information

ID CVE-2026-33331
Source GitHub_M
Published Mar 24, 2026 at 19:18
Modified Mar 25, 2026 at 13:34

Affected Product

Vendor middleapi
Product orpc
Version < 1.13.9
Affected Versions middleapi orpc < 1.13.9

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.