GitHub Advisoryadvisory · Maven

GHSA-fh63-4r66-jc7v Cross-site scripting (XSS) in Apache Velocity Tools

MEDIUM Published 2021-03-12 Modified 2022-04-25 Official page ↗
Aliases
CVE-2020-13959
Ecosystem
Maven
Packages
org.apache.velocity.tools:velocity-tools-parent, org.apache.velocity:velocity-tools
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2021-03-12

Affected packages

• Maven org.apache.velocity.tools:velocity-tools-parent: < 3.1 → fixed in 3.1 • Maven org.apache.velocity:velocity-tools: <= 2.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2020-13959 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. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References