CVE-2025-31497
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedTEIGarage 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).
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceTEIGarage's Document Conversion Service contains an XXE injection vulnerability where the XML parser fails to disable external entity processing, allowing attackers to read arbitrary files from the server filesystem or perform SSRF attacks via malicious XML input.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify TEIGarage Document Conversion Service installationLocate the TEIGarage application or service on the system. Check for installed packages, running services, or application directories related to Document Conversion Service.Affected if TEIGarage Document Conversion Service is not installed or not running
-
Determine installed versionQuery the application for its version information using the product's native version command, configuration file, or API endpoint. Compare the version number to the fixed version 1.2.4.Affected if Version is lower than 1.2.4 and the service processes XML input
-
Verify XML processing is enabledCheck if the service accepts or processes XML documents. Inspect the service configuration or documentation to confirm XML input handling is active.Affected if XML document processing is enabled and the version is below 1.2.4
-
Inspect XML parser configurationExamine the XML parser settings in the service configuration or source code. Look for whether external entity processing is explicitly disabled or if XMLConstants.FEATURE_SECURE_PROCESSING is set to true.Affected if External entity processing is not disabled in the XML parser configuration
The environment is affected if TEIGarage Document Conversion Service is installed with a version lower than 1.2.4 and the service processes XML documents with external entity processing enabled in the parser.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to version 1.2.4 or disable external entity processing in the XML parser by setting XMLConstants.FEATURE_SECURE_PROCESSING=true.
version 1.2.4
- Upgrade TEIGarage to version 1.2.4 or later to resolve the XXE vulnerability
- After upgrading, verify that the Document Conversion Service properly handles XML files and that external entity processing is disabled
- If unable to upgrade immediately, configure the XML parser to disable external entity processing by setting XMLConstants.FEATURE_SECURE_PROCESSING to true in the XML processing code
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-31497 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-31497 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data