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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Velocity Tools | from Apache Velocity Tools before 3.1 | CVE List |
| org.apache.velocity.tools:velocity-tools-parent (Maven) | before 3.1 | GitHub Advisory Database |
| org.apache.velocity:velocity-tools (Maven) | up to 2.0 | GitHub Advisory Database |
| apache velocity_tools | before 3.1 | NVD |
| debian debian_linux | 9.0 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV: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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-13959 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fh63-4r66-jc7v changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2020-13959 changed 2026-06-17 | Public domain |