MoguBlog XML External Entity Injection in WeChat Callback
MoguBlog versions through 6.2 are vulnerable to unauthenticated XML External Entity (XXE) injection via the WeChat callback handler, allowing arbitrary file read and outbound SSRF.
CVE search metadata
CVE search record: CVE-2026-89260. Severity: high. CVSS: 7.5. KEV: no. Product: MoguBlog (<= 6.2). Brief: MoguBlog XML External Entity Injection in WeChat Callback. Brief link: https://feed.craftedsignal.io/briefs/2026-09-mogublog-xxe/
What's new
- 1. added coverage for MoguBlog (<= 6.2) Sep 11, 17:14 via nvd
MoguBlog versions through 6.2 contain a critical XML external entity (XXE) injection vulnerability located within the WeChat callback handler. The flaw exists in the WechatRestApi.index() method, which improperly handles raw request bodies by passing them to the SignUtil.xmlToMap() function. This function utilizes a dom4j SAXReader without explicitly disabling Document Type Definition (DTD) processing or external entity expansion. Consequently, unauthenticated remote attackers can supply malicious XML payloads containing crafted DOCTYPE declarations to the /wechat/wechatCheck endpoint. Successful exploitation allows for the exfiltration of local system files, the execution of unauthorized outbound HTTP requests (SSRF), and potential reflection of resolved entities within application error messages. This vulnerability poses a significant risk to the confidentiality and integrity of the application server.
Attack Chain
- The attacker crafts a malicious XML payload including a DOCTYPE declaration defining an external entity pointing to a local file (e.g., /etc/passwd) or a target URL.
- The attacker sends a POST request targeting the
/wechat/wechatCheckendpoint. - The
WechatRestApi.index()method accepts the raw request body. - The application triggers the
SignUtil.xmlToMap()method, which initiates adom4jSAXReader to parse the incoming request. - The unhardened XML parser processes the malicious DOCTYPE, resolving the external entity.
- The application includes the content of the external entity or the response from the SSRF request in the HTTP error response.
- The attacker parses the returned data to view sensitive local files or capture the output of unauthorized outbound requests.
Impact
Successful exploitation of CVE-2026-89260 allows unauthenticated attackers to gain unauthorized access to sensitive files on the host filesystem and utilize the application as a proxy for server-side request forgery (SSRF) attacks. This can lead to the exposure of credentials, configuration files, or internal network mapping.
Recommendation
- Update MoguBlog to a patched version beyond 6.2 immediately upon availability from the vendor.
- Deploy the provided Sigma rule to detect POST requests to the
/wechat/wechatCheckendpoint containing suspicious XML entity patterns. - Configure the application server or WAF to inspect and block inbound HTTP requests containing
!DOCTYPEorENTITYtags when targeting the identified callback URL.
Immediate actions
Deploy Sigma rule to detect XXE attempts against the /wechat/wechatCheck endpoint.
Mitigations
Upgrade MoguBlog to a version beyond 6.2.
CVE-2026-89260
Detection coverage 1
Detect CVE-2026-89260 Exploitation - XXE in MoguBlog WeChat Callback
highDetects exploitation attempts against CVE-2026-89260 by monitoring for XML entity definition tags in requests to the WeChat callback endpoint.
Detection queries are available on the platform. Get full rules →