Velocity Tools XSS Vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 6 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Velocity Tools | Apache Velocity Tools to before 3.1 | 3.1 | Patch available | CNA |
| — | org.apache.velocity.tools:velocity-tools-parent (Maven) | before 3.1 | 3.1 | Patch available | GHSA-fh63-4r66-jc7v |
| — | org.apache.velocity:velocity-tools (Maven) | up to 2.0 | — | No fix listed | GHSA-fh63-4r66-jc7v |
- Apache Velocity Tools VendorApache Affected Apache Velocity Tools to before 3.1 Fixed in 3.1 Patch available CNA
- org.apache.velocity.tools:velocity-tools-parent (Maven) Vendor— Affected before 3.1 Fixed in 3.1 Patch available GHSA-fh63-4r66-jc7v
- org.apache.velocity:velocity-tools (Maven) Vendor— Affected up to 2.0 Fixed in — No fix listed GHSA-fh63-4r66-jc7v
Remediation
- Fix · CNA Apache Velocity Tools (Apache Software Foundation) Fixed in 3.1
- Fix · GHSA-fh63-4r66-jc7v org.apache.velocity.tools:velocity-tools-parent (Maven) Fixed in 3.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat BPM Suite 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss BRMS 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Data Virtualization 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Operations Network 3 | Affected | No fix planned: Out of support scope |
Not affected: 13 products
- A-MQ Clients 2
- Red Hat Decision Manager 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Fuse 7
- Red Hat Integration Camel K 1
- Red Hat JBoss A-MQ 6
- Red Hat JBoss Fuse 6
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4
- Red Hat Process Automation 7
Timeline
- 2026-10-02 Threatist record created from CVE-2020-13959
- 2026-10-03 Alias added: GHSA-fh63-4r66-jc7v
References
Advisory 5
- https://lists.apache.org/thread.html/r6802a38c3041059e763a1aadd7b37fe95de75408144b5805e29b84e3%40%3Cuser.velocity.apache.org%3E
- [oss-security] 20210309 CVE-2020-13959: Velocity Tools XSS Vulnerability
- [debian-lts-announce] 20210317 [SECURITY] [DLA 2597-1] velocity-tools security update
- GLSA-202107-52
- https://nvd.nist.gov/vuln/detail/CVE-2020-13959
Other 7
- [velocity-commits] 20210310 [velocity-site] 01/01: CVE announcement
- [announce] 20210310 CVE-2020-13959: Velocity Tools XSS Vulnerability
- [velocity-user] 20210318 Re: CVE-2020-13959: Velocity Tools XSS Vulnerability
- https://lists.apache.org/thread.html/r6802a38c3041059e763a1aadd7b37fe95de75408144b5805e29b84e3@%3Cuser.velocity.apache.org%3E
- https://lists.apache.org/thread.html/r97edad0655770342d2d36620fb1de50b142fcd6c4f5c53dd72ca41d7@%3Cuser.velocity.apache.org%3E
- https://lists.apache.org/thread.html/rb042f3b0090e419cc9f5a3d32cf0baff283ccd6fcb1caea61915d6b6@%3Ccommits.velocity.apache.org%3E
- https://lists.apache.org/thread.html/rf9868c564cff7adfd5283563f2309b93b3e496354a211a57503b2f72@%3Cannounce.apache.org%3E
Sources
- CVE-2020-13959 · CVE Program
- CVE-2020-13959 · NVD
- FIRST EPSS
- GHSA-fh63-4r66-jc7v · GitHub Advisory Database · CC BY 4.0
- CVE-2020-13959 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences