Live threats

All CVEs / Apache

CVE-2020-13959Apache Velocity Tools

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
5.7%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Mar 10, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Velocity Tools.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.velocity.tools:velocity-tools-parent < 3.1 3.1 —
Maven org.apache.velocity:velocity-tools ≤ 2.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-fh63-4r66-jc7v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachevelocity_tools< 3.1
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.