CVE-2020-13959 json
Velocity Tools XSS Vulnerability
published 5y ago modified 4mo ago also GHSA-fh63-4r66-jc7v , EUVD-2021-0652
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.7%
- EPSS 5.7% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.apache.velocity.tools:velocity-tools-parent 3.1
- Apache Software Foundation Apache Velocity Tools 3.1
- velocity-tools Debian 14, Debian 13, Debian 12 2.0-8
debian advisories DEBIAN-CVE-2020-13959
- velocity-tools Ubuntu 20.04 LTS 2.0-7ubuntu0.20.04.1
- velocity-tools Ubuntu Pro 16.04 LTS 2.0-4ubuntu0.1~esm1
- velocity-tools Ubuntu Pro 18.04 LTS 2.0-7ubuntu0.18.04.1~esm1
ubuntu advisories UBUNTU-CVE-2020-13959
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2020-13959 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-13959 updated cvss 6.5
velocity: XSS in the default error page for VelocityView
-
Red Hat BPM Suite 6 velocity Red Hat JBoss BRMS 6 velocity Red Hat JBoss Data Virtualization 6 velocity Red Hat JBoss Enterprise Application Platform 6 velocity Red Hat JBoss Fuse Service Works 6 velocity Red Hat JBoss Operations Network 3 velocityaffected: no fix planned “Out of support scope”
-
Red Hat A-MQ Clients 2 velocity Red Hat Decision Manager 7 velocity Red Hat Enterprise Linux 6 velocity, velocity-demo, velocity-manual, velocity-javadoc Red Hat Enterprise Linux 7 velocity, velocity-demo, velocity-manual, velocity-javadoc Red Hat Enterprise Linux 8 velocity, velocity-demo, velocity-manual, velocity-javadoc Red Hat Enterprise Linux 9 velocitynot affected: vulnerable code not present
+7 more productsfewer
Red Hat Fuse 7 velocity Red Hat Integration Camel K 1 velocity Red Hat JBoss A-MQ 6 velocity Red Hat JBoss Fuse 6 velocity Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5 Red Hat OpenShift Container Platform 4 openshift4/ose-metering-hive, openshift4/ose-logging-elasticsearch5, openshift4/ose-logging-elasticsearch6 Red Hat Process Automation 7 velocity
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.70% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.velocity.tools:velocity-tools-parent | <3.1 |
3.1 |
| maven | org.apache.velocity:velocity-tools | <=2.0 |
no fix listed |
Affected products
- Apache Software Foundation Apache Velocity Tools
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
security.gentoo.org
/glsa/202107-52
vendor-advisory, web, third-party-advisory
-
lists.apache.org
/thread.html/r6802a38c3041059e763a1aadd7b37fe95de75408144b5805e29b84e3%40%3Cuser.velocity.apache.org%3E
mailing-list, web, vendor-advisory
-
lists.apache.org
/thread.html/rb042f3b0090e419cc9f5a3d32cf0baff283ccd6fcb1caea61915d6b6%40%3Ccommits.velocity.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rf9868c564cff7adfd5283563f2309b93b3e496354a211a57503b2f72%40%3Cannounce.apache.org%3E
mailing-list
-
openwall.com
/lists/oss-security/2021/03/10/2
mailing-list, web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/03/msg00021.html
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r97edad0655770342d2d36620fb1de50b142fcd6c4f5c53dd72ca41d7%40%3Cuser.velocity.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2020-13959
advisory
-
lists.apache.org
/thread.html/r6802a38c3041059e763a1aadd7b37fe95de75408144b5805e29b84e3@%3Cuser.velocity.apache.org%3E
web
-
lists.apache.org
/thread.html/r97edad0655770342d2d36620fb1de50b142fcd6c4f5c53dd72ca41d7@%3Cuser.velocity.apache.org%3E
web
-
lists.apache.org
/thread.html/rb042f3b0090e419cc9f5a3d32cf0baff283ccd6fcb1caea61915d6b6@%3Ccommits.velocity.apache.org%3E
web
-
lists.apache.org
/thread.html/rf9868c564cff7adfd5283563f2309b93b3e496354a211a57503b2f72@%3Cannounce.apache.org%3E
web
Sources
- CVE List CVE-2020-13959
- GitHub Advisory GHSA-fh63-4r66-jc7v
- NVD CVE-2020-13959
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.