CVE-2020-13959
publishedVelocity Tools XSS Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Velocity ToolsApache Velocity Tools to < 3.1 | Affected | Not stated | apache |
| Debian | stretch | velocity-tools | Advisory build | 2.0-6+deb9u1 | DLA-2597-1 |
| Ubuntu | bionic | libvelocity-tools-java | Advisory build | 2.0-7ubuntu0.18.04.1~esm1 | USN-6282-1 |
| Ubuntu | bionic | velocity-tools | Advisory build | 2.0-7ubuntu0.18.04.1~esm1 | USN-6282-1 |
| Ubuntu | focal | libvelocity-tools-java | Advisory build | 2.0-7ubuntu0.20.04.1 | USN-6282-1 |
| Ubuntu | focal | velocity-tools | Advisory build | 2.0-7ubuntu0.20.04.1 | USN-6282-1 |
| Ubuntu | xenial | libvelocity-tools-java | Advisory build | 2.0-4ubuntu0.1~esm1 | USN-6282-1 |
| Ubuntu | xenial | velocity-tools | Advisory build | 2.0-4ubuntu0.1~esm1 | USN-6282-1 |
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 advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Velocity Tools | Apache Velocity Tools to < 3.1 (affected · custom) | apache · cna |
Weaknesses
1- CWE-79 CWE-79 Cross-site Scripting (XSS)
References
7- [oss-security] 20210309 CVE-2020-13959: Velocity Tools XSS Vulnerability http://www.openwall.com/lists/oss-security/2021/03/10/2
- [velocity-user] 20210310 CVE-2020-13959: Velocity Tools XSS Vulnerability https://lists.apache.org/thread.html/r6802a38c3041059e763a1aadd7b37fe95de75408144b5805e29b84e3%40%3Cuser.velocity.apache.org%3E
- [velocity-user] 20210318 Re: CVE-2020-13959: Velocity Tools XSS Vulnerability https://lists.apache.org/thread.html/r97edad0655770342d2d36620fb1de50b142fcd6c4f5c53dd72ca41d7%40%3Cuser.velocity.apache.org%3E
- [velocity-commits] 20210310 [velocity-site] 01/01: CVE announcement https://lists.apache.org/thread.html/rb042f3b0090e419cc9f5a3d32cf0baff283ccd6fcb1caea61915d6b6%40%3Ccommits.velocity.apache.org%3E
- [announce] 20210310 CVE-2020-13959: Velocity Tools XSS Vulnerability https://lists.apache.org/thread.html/rf9868c564cff7adfd5283563f2309b93b3e496354a211a57503b2f72%40%3Cannounce.apache.org%3E
- [debian-lts-announce] 20210317 [SECURITY] [DLA 2597-1] velocity-tools security update https://lists.debian.org/debian-lts-announce/2021/03/msg00021.html
- GLSA-202107-52 https://security.gentoo.org/glsa/202107-52
Provider assertions
2apache · cna
Velocity Tools XSS Vulnerability
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 31eda7c8cb2bd482aef456efd0e0a5f2cb5a8638f2af1f9ef9274865c8ecd134
- Ingested
- 23 Sep 2026, 07:48:35 UTC
- Source record
- Official CVE record