CVE-2020-13959
Java vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2020-13959) affects Apache Velocity Tools versions prior to 3.1. The default error page for VelocityView reflects back the vm file that was entered as part of the URL, creating a cross-site scripting (XSS) vulnerability. This security flaw was discovered and reported by Jackson Henry, a member of Sakura Samurai (Openwall, Debian Security).

Technical details

The vulnerability stems from the default error page functionality in VelocityView, where the system reflects back the vm file specified in the URL without proper sanitization. An attacker can exploit this by setting an XSS payload file as the vm file parameter in the URL, resulting in the execution of arbitrary JavaScript code in the context of the attacked website and user (Openwall).

Impact

When successfully exploited, this XSS vulnerability enables attackers to execute arbitrary JavaScript in the context of the attacked website and the targeted user. The impact includes potential theft of session cookies, unauthorized request execution on behalf of the victim, and the possibility of conducting phishing attacks (Debian LTS, Openwall).

Mitigation and workarounds

The vulnerability has been addressed in Apache Velocity Tools version 3.1, which implements proper escaping of the reflected text on the default error page to prevent JavaScript execution. Organizations using affected versions are strongly recommended to upgrade to version 3.1 or later (Openwall). Various Linux distributions have also released security updates, including Debian which fixed the issue in version 2.0-6+deb9u1 for Debian 9 'Stretch' (Debian LTS).

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-58400CRITICAL9.1
  • Java logoJava
  • org.geonetwork-opensource:gs-web-app
NoYesSep 03, 2026
CVE-2026-63219HIGH8.6
  • Java logoJava
  • org.geonetwork-opensource:gn-services
NoYesSep 03, 2026
CVE-2026-49832HIGH8
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026
CVE-2026-49833MEDIUM5.5
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026
CVE-2026-49831MEDIUM5.5
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 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