CVE-2025-31497 Details
Description
TEIGarage is a webservice and RESTful service to transform, convert and validate various formats, focussing on the TEI format. The Document Conversion Service contains a critical XML External Entity (XXE) Injection vulnerability in its document conversion functionality. The service processes XML files during the conversion process but fails to disable external entity processing, allowing an attacker to read arbitrary files from the server's filesystem. This vulnerability could allow attackers to read sensitive files from the server's filesystem, potentially exposing configuration files, credentials, or other confidential information. Additionally, depending on the server configuration, this could potentially be used to perform server-side request forgery (SSRF) attacks by making the server connect to internal services. This issue is patched in version 1.2.4. A workaround for this vulnerability includes disabling external entity processing in the XML parser by setting the appropriate security features (e.g., XMLConstants.FEATURE_SECURE_PROCESSING).
A critical XML External Entity (XXE) Injection vulnerability has been identified in the TEIGarage Document Conversion Service, which is part of the TEIGarage webservice and RESTful service for transforming, converting, and validating various formats, with a focus on TEI. The vulnerability arises because the service processes XML files during conversion without disabling external entity processing. This oversight allows attackers to read arbitrary files from the server's filesystem, potentially exposing sensitive information such as configuration files and credentials. Furthermore, depending on the server's configuration, this vulnerability could be exploited to perform server-side request forgery (SSRF) attacks by having the server connect to internal services.
Users are advised to update to TEIGarage version 1.2.4 or later. Additionally, external entity processing should be disabled in the XML parser by setting the appropriate security features, such as enabling secure processing. Implementing input validation and sanitization for XML documents before processing can also help mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 15, 2025CISA-ADP
Assessed Apr 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/TEIC/TEIGarage/security/advisories/GHSA-w2hq-3cjc-2x55 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| TEIGarage | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 15, 2025 | New CVE Received | [email protected] |
Volerion