Skip to content
OpenAdvisories
Medium · 6.1 CVE-2020-13959 EUVD-2021-0652GHSA-fh63-4r66-jc7v

Velocity Tools XSS Vulnerability

Published Mar 10, 2021 · Updated Feb 13, 2025 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Velocity Tools Apache Velocity Tools – < 3.1 3.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 velocity-tools 2.0-8 —
Debian 13 velocity-tools 2.0-8 —
Debian 12 velocity-tools 2.0-8 —
Debian 9 velocity-tools 2.0-6+deb9u1 DLA-2597-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS velocity-tools 2.0-7ubuntu0.20.04.1 USN-6282-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS velocity-tools 2.0-7ubuntu0.18.04.1~esm1 USN-6282-1
Ubuntu Pro 16.04 LTS velocity-tools 2.0-4ubuntu0.1~esm1 USN-6282-1

Affected packages

Advisories 2

References