ADVISORIES

GitHub Advisory Database

GHSA-fh63-4r66-jc7v

Cross-site scripting (XSS) in Apache Velocity Tools

Moderate CVE-2020-13959

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.apache.velocity.tools:velocity-tools-parent
All versions before 3.1 (fixed in 3.1)
Mavenorg.apache.velocity:velocity-tools
All versions up to and including 2.0

References