CVE-2020-13959

MEDIUM

Apache Velocity Tools < 3.1 - XSS

Title source: rule

Description

The default error page for VelocityView in Apache Velocity Tools prior to 3.1 reflects back the vm file that was entered as part of the URL. An attacker can set an XSS payload file as this vm file in the URL which results in this payload being executed. XSS vulnerabilities allow attackers to execute arbitrary JavaScript in the context of the attacked website and the attacked user. This can be abused to steal session cookies, perform requests in the name of the victim or for phishing attacks.

Exploits (2)

nomisec WRITEUP
by dawetmaster · poc
https://github.com/dawetmaster/CVE-2020-13959-velocity-tools-vulnerable
nomisec WRITEUP
by andikahilmy · poc
https://github.com/andikahilmy/CVE-2020-13959-velocity-tools-vulnerable

Scores

CVSS v3 6.1
EPSS 0.0321
EPSS Percentile 87.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (4)
apache/velocity_tools < 3.1
debian/debian_linux 9.0
org.apache.velocity/velocity-tools 0Maven
org.apache.velocity.tools/velocity-tools-parent 0 - 3.1Maven
Published Mar 10, 2021
Tracked Since Feb 18, 2026