CVE-2020-13959
JSON

6.1medium

Velocity Tools XSS Vulnerability

Severity
6.1medium CVSS:3.1 by NVD
Exploit likelihood
5.70% (higher than 93% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-fh63-4r66-jc7v

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

Product or packageVersionsReported by
Apache Software Foundation Apache Velocity Toolsfrom Apache Velocity Tools before 3.1CVE List
org.apache.velocity.tools:velocity-tools-parent (Maven)before 3.1GitHub Advisory Database
org.apache.velocity:velocity-tools (Maven)up to 2.0GitHub Advisory Database
apache velocity_toolsbefore 3.1NVD
debian debian_linux9.0NVD

All scores

GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

La página de error predeterminada para VelocityView en Apache Velocity Tools versiones anteriores a 3.1, refleja el archivo vm que se ingresó como parte de la URL. Un atacante puede configurar un archivo de carga útil de tipo XSS como este archivo vm en la URL, que resulta en que esta carga útil sea ejecutada. Las vulnerabilidades de tipo XSS, permiten a atacantes ejecutar JavaScript arbitrario en el contexto del sitio web atacado y del usuario atacado. Esto puede ser abusado para robar cookies de sesión, llevar a cabo peticiones en nombre de la víctima o para ataques de phishing

References

https://lists.apache.org/thread.html/r6802a38c3041059e763a1aadd7b37fe95de75408144b5805e29b84e3%40%3Cuser.velocity.apache.org%3Emailing-list, vendor-advisory, web
https://lists.apache.org/thread.html/rb042f3b0090e419cc9f5a3d32cf0baff283ccd6fcb1caea61915d6b6%40%3Ccommits.velocity.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rf9868c564cff7adfd5283563f2309b93b3e496354a211a57503b2f72%40%3Cannounce.apache.org%3Emailing-list
http://www.openwall.com/lists/oss-security/2021/03/10/2mailing-list, third-party-advisory, web
https://lists.debian.org/debian-lts-announce/2021/03/msg00021.htmlmailing-list, third-party-advisory, web
https://lists.apache.org/thread.html/r97edad0655770342d2d36620fb1de50b142fcd6c4f5c53dd72ca41d7%40%3Cuser.velocity.apache.org%3Emailing-list
https://security.gentoo.org/glsa/202107-52third-party-advisory, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2020-13959advisory
https://lists.apache.org/thread.html/r6802a38c3041059e763a1aadd7b37fe95de75408144b5805e29b84e3@%3Cuser.velocity.apache.org%3Eweb
https://lists.apache.org/thread.html/r97edad0655770342d2d36620fb1de50b142fcd6c4f5c53dd72ca41d7@%3Cuser.velocity.apache.org%3Eweb
https://lists.apache.org/thread.html/rb042f3b0090e419cc9f5a3d32cf0baff283ccd6fcb1caea61915d6b6@%3Ccommits.velocity.apache.org%3Eweb
https://lists.apache.org/thread.html/rf9868c564cff7adfd5283563f2309b93b3e496354a211a57503b2f72@%3Cannounce.apache.org%3Eweb

Sources

SourceRecordLicence
CVE ListCVE-2020-13959 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-fh63-4r66-jc7v changed 2023-11-08CC-BY-4.0
NVDCVE-2020-13959 changed 2026-06-17Public domain