Skip to main content

xdocreport EUVDEUVD-2026-60545

| CVE-2026-38165 CRITICAL
Code Injection (CWE-94)
2026-08-17 mitre GHSA-7747-6373-9653
9.8
CVSS 3.1 · Vendor: mitre
Share

Severity by source

Vendor (mitre) PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
9.8 CRITICAL

When the app renders untrusted content as a Velocity template, exploitation is unauthenticated, network-reachable, low-complexity RCE with full CIA loss; the untrusted-template requirement is an application deployment condition, not a base metric.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Source Code Evidence Fetched
Aug 18, 2026 - 12:23 vuln.today
Analysis Generated
Aug 18, 2026 - 12:23 vuln.today
CVSS changed
Aug 18, 2026 - 12:22 NVD
9.8 (CRITICAL)
CVE Published
Aug 17, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 17, 2026 - 00:00 cve.org
CRITICAL 9.8

DescriptionCVE.org

A Server-Side Template Injection (SSTI) vulnerability in the Velocity template engine configuration of xdocreport v0.9.2 to v2.2.0 allows attackers to execute arbitrary code via a crafted expression.

AnalysisAI

Remote code execution in opensagres xdocreport (versions 0.9.2 through 2.2.0) arises because the bundled Velocity template engine ships with the insecure default UberspectImpl introspector, letting a crafted Velocity expression reach reflective JDK classes and run arbitrary code. Any application that renders untrusted template content through xdocreport's Velocity engine is exposed to full server compromise. Publicly available exploit code exists (a dedicated PoC GitHub repository and two HackMD write-ups), though the flaw is not listed in CISA KEV and no EPSS score was supplied.

Technical ContextAI

xdocreport is a Java library for generating reports (DOCX/ODT/PDF) from templates, and its fr.opensagres.xdocreport.template.velocity module wraps Apache Velocity. The root cause (CWE-94, Code Injection) is a configuration weakness: xdocreport-velocity.properties set 'introspector.uberspect.class = org.apache.velocity.util.introspection.UberspectImpl', the permissive default introspector that allows templates to call getClass().forName() and reach java.lang.Runtime/Process/ClassLoader via reflection. Server-Side Template Injection occurs when attacker-controlled data is evaluated as a Velocity expression; without a secure introspector, this converts into arbitrary code execution. The fix (PR #723) switches the default to org.apache.velocity.util.introspection.SecureUberspector and adds introspector.restrict.packages (java.lang.reflect) and an explicit restrict.classes deny-list (Class, ClassLoader, Runtime, Process, System, Thread, etc.), with a regression test confirming Class.forName() is blocked. The CPE provided is a placeholder ('n/a'), so exact machine-readable product identification is unavailable.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the change in https://github.com/opensagres/xdocreport/pull/723, which sets runtime.introspector.uberspect to org.apache.velocity.util.introspection.SecureUberspector by default and restricts reflective classes/packages; upgrade to a release built after v2.2.0 that incorporates PR #723 once published, or build from the patched source. Until a tagged release is available, apply the same hardening in your own application by explicitly setting runtime.introspector.uberspect=org.apache.velocity.util.introspection.SecureUberspector plus introspector.restrict.packages=java.lang.reflect and the class deny-list (java.lang.Runtime, Process, System, ClassLoader, Class, Thread, etc.) in the Velocity properties you pass to xdocreport - this preserves normal POJO/property access while blocking the reflective escape (side effect: templates that legitimately call restricted JDK reflection will break). As a deployment control, treat all template content as untrusted: do not allow end users to upload or influence Velocity template sources, and validate/sandbox any dynamic template input. See VulDB https://vuldb.com/vuln/391515 for tracking.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Share

EUVD-2026-60545 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy