CVE-2020-25803
Java vulnerability analysis and mitigation

Overview

CVE-2020-25803 is an Improper Control of Dynamically-Managed Code Resources vulnerability discovered in Crafter Studio of Crafter CMS. The vulnerability was disclosed on October 6, 2020, affecting Crafter CMS versions 3.0 prior to 3.0.27 and 3.1 versions prior to 3.1.7. This vulnerability allows authenticated developers to execute operating system commands through deep inspection of FreeMarker template exposed objects (NVD, GitHub Security Lab).

Technical details

The vulnerability stems from the exposure of objects through the Templating API that can be used to circumvent the sandbox and achieve remote code execution. Specifically, the ${siteContext.servletContext} gives access to the Servlet Context where attackers can find objects that allow instantiation of arbitrary Java objects. The vulnerability has a CVSS v3.1 Base Score of 7.2 (HIGH) according to NVD assessment, with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (NVD, GitHub Security Lab).

Impact

The vulnerability allows authenticated attackers with developer privileges to execute arbitrary operating system commands. This can lead to complete system compromise, as attackers can achieve remote code execution through various methods including using ScriptEngine or freemarker.template.utility.Execute (GitHub Security Lab).

Exploitability

The vulnerability requires authentication with developer privileges to exploit. It can be exploited through multiple methods, including using the ScriptEngine to run arbitrary Java code or utilizing freemarker.template.utility.Execute for direct command execution. The attack can be performed by accessing the Servlet Context through ${siteContext.servletContext} and leveraging exposed objects (GitHub Security Lab).

Mitigation and workarounds

The vulnerability was patched in Crafter CMS versions 3.0.27 and 3.1.7. Users are advised to upgrade to these or later versions to mitigate the risk (Vendor Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-73644CRITICAL9.6
  • Java logoJava
  • org.openidentityplatform.opendj:opendj-server-legacy
NoYesAug 13, 2026
CVE-2026-73507HIGH7.5
  • Java logoJava
  • datahub-upgrade-fips
NoYesAug 13, 2026
CVE-2026-73495HIGH7.4
  • Java logoJava
  • org.http4s:blaze-http_2.13
NoYesAug 12, 2026
CVE-2026-73508MEDIUM5.3
  • Java logoJava
  • trino
NoYesAug 13, 2026
CVE-2026-48791LOW2
  • Java logoJava
  • dev.sigstore:sigstore-java
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management