CVE-2020-13959

MEDIUM

Apache Velocity Tools < 3.1 - Cross-Site Scripting via URL vm File Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2020-13959. PoCs published by dawetmaster, andikahilmy.

AI-analyzed exploit summary This repository contains the vulnerable source code for Apache Velocity Tools, specifically showcasing the components affected by CVE-2020-13959. It includes examples and generic tools but does not provide an exploit or detailed analysis of the vulnerability itself.

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

This repository contains the vulnerable source code for Apache Velocity Tools, specifically showcasing the components affected by CVE-2020-13959. It includes examples and generic tools but does not provide an exploit or detailed analysis of the vulnerability itself.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Apache Velocity Tools 3.0
No auth needed
Prerequisites: Access to a vulnerable Apache Velocity Tools instance
devstral-2 · analyzed Mar 14, 2026 Full analysis →
nomisec WRITEUP
by andikahilmy · poc
https://github.com/andikahilmy/CVE-2020-13959-velocity-tools-vulnerable

This repository contains the source code for Apache Velocity Tools, specifically a vulnerable version (3.0) affected by CVE-2020-13959. The code includes examples and generic tools but does not provide an exploit PoC or detailed vulnerability analysis.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Apache Velocity Tools 3.0
No auth needed
Prerequisites: Access to a vulnerable Apache Velocity Tools 3.0 instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 6.1
EPSS 0.0321
EPSS Percentile 87.4%
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