CVE-2020-13959Velocity Tools XSS Vulnerability
- 6.1MediumCVSS base score
- 5.7%Exploitation in 30 daysEPSS · top 6.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known 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.
Timeline
ID reserved
By apache
- 9 months later
· 9 months later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 5.7% · top 6.8% of all CVEs (20 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Affected products
Apache Software Foundation · Apache Velocity Tools
- affected Apache Velocity Tools – < 3.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.velocity.tools:velocity-tools-parentGHSA-fh63-4r66-jc7v (opens in a new tab)
- Mavenorg.apache.velocity:velocity-toolsGHSA-fh63-4r66-jc7v (opens in a new tab)
What to do
Workaround: Applications based on Apache Velocity Tools should upgrade to version 3.1. This version escapes the reflected text on the default error page, preventing potential javascript execution.
References
References7
- https://lists.apache.org/thread.html/r6802a38c3041059e763a1aadd7b37fe95de75408144b5805e29b84e3%40%3Cuser.velocity.apache.org%3E (opens in a new tab)x_refsource_MISCmailing-listx_refsource_MLISTx_transferred
- [velocity-commits] 20210310 [velocity-site] 01/01: CVE announcement (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20210310 CVE-2020-13959: Velocity Tools XSS Vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20210309 CVE-2020-13959: Velocity Tools XSS Vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [debian-lts-announce] 20210317 [SECURITY] [DLA 2597-1] velocity-tools security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [velocity-user] 20210318 Re: CVE-2020-13959: Velocity Tools XSS Vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- GLSA-202107-52 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0652 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-fh63-4r66-jc7v (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-13959)Record last updated .