Code Injection in Templating Engine - CVE-2025-31722

 

Code Injection in Templating Engine - CVE-2025-31722

Published: April 3, 2025


Vulnerability identifier: #VU106933
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-31722
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Jenkins
Affected software:
Templating Engine

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to the script security sandbox bypass through folder-scoped libraries. A remote user can execute arbitrary code on the target system.


How to mitigate CVE-2025-31722

Install updates from vendor's website.

Sources