cve.bz

CVE-2020-13959 Cross-site Scripting

6.1 mediumEPSS 5.7%Fix available

Medium (6.1). EPSS 5.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.velocity.tools:velocity-tools-parent 3.1.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
5.7% (unchanged from 5.7% a week ago; 5.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-13959 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-13959?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-13959?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-13959 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Velocity Toolsfrom Apache Velocity Tools before 3.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fh63-4r66-jc7vMavenorg.apache.velocity.tools:velocity-tools-parent<3.13.1
GHSA-fh63-4r66-jc7vMavenorg.apache.velocity:velocity-tools<=2.0no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9velocity-tools2.0-6+deb9u1DLA-2597-1
Debian12, 13, 14velocity-tools2.0-8DEBIAN-CVE-2020-13959
Ubuntu20.04:LTSvelocity-tools2.0-7ubuntu0.20.04.1UBUNTU-CVE-2020-13959 USN-6282-1
UbuntuPro:16.04:LTSvelocity-tools2.0-4ubuntu0.1~esm1UBUNTU-CVE-2020-13959 USN-6282-1
UbuntuPro:18.04:LTSvelocity-tools2.0-7ubuntu0.18.04.1~esm1UBUNTU-CVE-2020-13959 USN-6282-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

velocity as shipped in Red Hat Enterprise Linux 6, 7, and 8, as well as CodeReady Studio 12, is not affected by this flaw as the affected velocity-tools code is not present in shipped products. This includes those shipped in javapackages-tools and pki-deps as well.

ProductPackageStateAdvisory
A-MQ Clients 2velocityNot affected
Red Hat BPM Suite 6velocityOut of support scope
Red Hat Decision Manager 7velocityNot affected
Red Hat Enterprise Linux 6velocityNot affected
Red Hat Enterprise Linux 7velocityNot affected
Red Hat Enterprise Linux 8javapackages-tools:201801/velocityNot affected
Red Hat Enterprise Linux 8pki-deps:10.6/velocityNot affected
Red Hat Enterprise Linux 9velocityNot affected
Red Hat Fuse 7velocityNot affected
Red Hat Integration Camel K 1velocityNot affected
Red Hat JBoss A-MQ 6velocityNot affected
Red Hat JBoss BRMS 6velocityOut of support scope
Red Hat JBoss Data Virtualization 6velocityOut of support scope
Red Hat JBoss Enterprise Application Platform 6velocityOut of support scope
Red Hat JBoss Fuse 6velocityNot affected
Red Hat JBoss Fuse Service Works 6velocityOut of support scope
Red Hat JBoss Operations Network 3velocityOut of support scope
Red Hat OpenShift Container Platform 3.11openshift3/ose-logging-elasticsearch5Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-logging-elasticsearch5Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-logging-elasticsearch6Not affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-13959.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON