Home / Apache Software Foundation / Apache Velocity Engine / CVE-2020-13936
CVE-2020-13936: is it exploited, and which versions of Apache Software Foundation Apache Velocity Engine are affected and fixed?
CVE-2020-13936 is an improper input validation vulnerability in Apache Software Foundation Apache Velocity Engine. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 21:39 UTC). Affected: org.apache.velocity:velocity-engine-parent before 2.3 and org.apache.velocity:velocity through 1.7 (GitHub advisory GHSA-59j4-wjwp-mw9m). Fixed in 2.3 (GitHub advisory GHSA-59j4-wjwp-mw9m). Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 21:39 UTC, CVE record November 19, 2026, 07:48 UTC and NVD November 19, 2026, 08:02 UTC.
What is CVE-2020-13936?
Velocity Sandbox Bypass
An attacker that is able to modify Velocity templates may execute arbitrary Java code or run arbitrary system commands with the same privileges as the account running the Servlet container. This applies to applications that allow untrusted users to upload/modify velocity templates running Apache Velocity Engine versions up to 2.2.
From the CVE record by apache, last updated February 13, 2025, 16:27 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Velocity Engine | from Apache Velocity Engine through 2.2 |
As the CVE record by apache states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.velocity:velocity-engine-parent | < 2.3 | 2.3 | GHSA-59j4-wjwp-mw9m |
| Maven | org.apache.velocity:velocity | <= 1.7 | none listed | GHSA-59j4-wjwp-mw9m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 1, 2022. Summary: Sandbox Bypass in Apache Velocity Engine.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | velocity engine | before 2.3 | application |
| apache | wss4j | 2.3.1 | application |
| debian | debian linux | 9.0 | operating system |
| oracle | banking deposits and lines of credit servicing | 2.12.0 | application |
| oracle | banking enterprise default management | from 2.3.0 through 2.4.1 | application |
| oracle | banking enterprise default management | 2.6.2 | application |
| oracle | banking enterprise default management | 2.7.1 | application |
| oracle | banking enterprise default management | 2.10.0 | application |
| oracle | banking enterprise default management | 2.12.0 | application |
| oracle | banking loans servicing | 2.12.0 | application |
| oracle | banking party management | 2.7.0 | application |
| oracle | banking platform | from 2.3.0 through 2.4.1 | application |
| oracle | banking platform | 2.6.2 | application |
| oracle | banking platform | 2.7.1 | application |
| oracle | communications cloud native core policy | 1.14.0 | application |
| oracle | communications network integrity | 7.3.6 | application |
| oracle | hospitality token proxy service | 19.2 | application |
| oracle | retail integration bus | 19.0.1 | application |
| oracle | retail order broker | 16.0 | application |
| oracle | retail service backbone | 19.0.1 | application |
| oracle | retail xstore office cloud service | 16.0.6 | application |
| oracle | retail xstore office cloud service | 17.0.4 | application |
| oracle | retail xstore office cloud service | 18.0.3 | application |
| oracle | retail xstore office cloud service | 19.0.2 | application |
| oracle | retail xstore office cloud service | 20.0.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:53 UTC.
How severe is CVE-2020-13936?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 9.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-13936 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 22.7% probability of exploitation activity in the next 30 days, percentile 97.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Is there a workaround? (from the CVE record)
Applications using Apache Velocity that allow untrusted users to upload templates should upgrade to version 2.3. This version adds additional default restrictions on what methods/properties can be accessed in a template.
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/r01043f584cbd47959fabe18fff64de940f81a65024bb8dddbda31d9a%40%3Cuser.velocity.apache.org%3E x_refsource_MISC
- [velocity-commits] 20210310 [velocity-site] 01/01: CVE announcement mailing-list, x_refsource_MLIST
- [oss-security] 20210309 CVE-2020-13936: Velocity Sandbox Bypass mailing-list, x_refsource_MLIST
- [announce] 20210310 CVE-2020-13936: Velocity Sandbox Bypass mailing-list, x_refsource_MLIST
- [druid-commits] 20210316 [GitHub] [druid] clintropolis opened a new pull request #11002: suppress CVE check for security fix mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20210317 [SECURITY] [DLA 2595-1] velocity security update mailing-list, x_refsource_MLIST
- [ws-dev] 20210318 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) mailing-list, x_refsource_MLIST
- [ws-dev] 20210318 [jira] [Created] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) mailing-list, x_refsource_MLIST
- [ws-dev] 20210319 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) mailing-list, x_refsource_MLIST
- [ws-dev] 20210319 [jira] [Comment Edited] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) mailing-list, x_refsource_MLIST
- [ws-dev] 20210322 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) mailing-list, x_refsource_MLIST
- [santuario-dev] 20210323 [GitHub] [santuario-xml-security-java] dependabot[bot] opened a new pull request #33: Bump dependency-check-maven from 6.1.2 to 6.1.3 mailing-list, x_refsource_MLIST
- [ws-dev] 20210324 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) mailing-list, x_refsource_MLIST
- [ws-dev] 20210325 [jira] [Updated] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) mailing-list, x_refsource_MLIST
- [ws-dev] 20210325 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) mailing-list, x_refsource_MLIST
- [turbine-commits] 20210329 svn commit: r1888167 - /turbine/core/trunk/pom.xml mailing-list, x_refsource_MLIST
- [ws-dev] 20210331 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) mailing-list, x_refsource_MLIST
- [ws-dev] 20210401 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) mailing-list, x_refsource_MLIST
- GLSA-202107-52 vendor-advisory, x_refsource_GENTOO
- [activemq-users] 20210830 Security issues mailing-list, x_refsource_MLIST
- [activemq-users] 20210831 RE: Security issues mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
Who found and reported it?
- This issue was discovered by Alvaro Munoz [removed] of Github Security Labs and was originally reported as GHSL-2020-048. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 8, 2020
- Published
- March 10, 2021, 08:00 UTC
- CVE record updated
- February 13, 2025, 16:27 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 02:53 UTC
- Last checked
- CVE list November 19, 2026, 07:48 UTC; NVD November 19, 2026, 08:02 UTC; KEV December 3, 2026, 21:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2020-13936
Is CVE-2020-13936 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 21:39 UTC. FIRST's EPSS gives it a 22.7% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Velocity Engine are affected by CVE-2020-13936?
org.apache.velocity:velocity-engine-parent before 2.3 and org.apache.velocity:velocity through 1.7, per the GitHub advisory GHSA-59j4-wjwp-mw9m. The tables above give every range the sources list.
Which version fixes CVE-2020-13936?
2.3, per the GitHub advisory GHSA-59j4-wjwp-mw9m. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-13936?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-13936?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.