PoC Monitor
← All CVEs
CVE-2026-33331published 24 Mar 2026 19:18 UTCData: JSON · API

oRPC

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

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.

First public PoC 11 daysafter publication · 4 Apr 2026
Public PoCs11 on GitHub
CVSS8.2high · scored by CNA · CWE-79
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

middleapi orpc
  • < 1.13.9

Fixed in 1.13.9

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10+12CVE published24 Mar 2026 · t = 0First public PoC4 Apr 2026 · t+11d

First public PoC 11 days after publication; not in CISA KEV. First PoC: abhayclasher/CVE-2026-33331 (created 4 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
abhayclasher/CVE-2026-33331 4 Apr 2026 +11 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /docs
(?i)^/docs(?:[?#].*)?$
GET /api/spec
(?i)^/api/spec(?:[?#].*)?$
GET /spec.json
(?i)^/spec\.json(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /docs
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-33331 middleapi orpc exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/docs"; reference:url,poc.griffinguard.io/cve/CVE-2026-33331; classtype:web-application-attack; sid:9048304; rev:1;)
GET /api/spec
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-33331 middleapi orpc exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/spec"; reference:url,poc.griffinguard.io/cve/CVE-2026-33331; classtype:web-application-attack; sid:9017569; rev:1;)
GET /spec.json
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-33331 middleapi orpc exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/spec.json"; reference:url,poc.griffinguard.io/cve/CVE-2026-33331; classtype:web-application-attack; sid:9852948; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /docs
title: middleapi orpc exploit attempt (CVE-2026-33331)
id: gg-pocmon-cve-2026-33331-9048304
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33331. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-33331
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/docs'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.33331
GET /api/spec
title: middleapi orpc exploit attempt (CVE-2026-33331)
id: gg-pocmon-cve-2026-33331-9017569
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33331. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-33331
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/spec'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.33331
GET /spec.json
title: middleapi orpc exploit attempt (CVE-2026-33331)
id: gg-pocmon-cve-2026-33331-9852948
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33331. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-33331
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/spec.json'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.33331