{"id":"CVE-2020-13959","published":"2021-03-10T08:00:19Z","modified":"2025-02-13T16:27:31Z","title":"Velocity Tools XSS Vulnerability","vendor":"Apache","product":"Apache Velocity Tools","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05702,"percentile":0.93197,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://lists.apache.org/thread.html/r6802a38c3041059e763a1aadd7b37fe95de75408144b5805e29b84e3%40%3Cuser.velocity.apache.org%3E","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/rb042f3b0090e419cc9f5a3d32cf0baff283ccd6fcb1caea61915d6b6%40%3Ccommits.velocity.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rf9868c564cff7adfd5283563f2309b93b3e496354a211a57503b2f72%40%3Cannounce.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2021/03/10/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00021.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r97edad0655770342d2d36620fb1de50b142fcd6c4f5c53dd72ca41d7%40%3Cuser.velocity.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/202107-52","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":18.64}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Velocity Tools","versions":[">= Apache Velocity Tools, < 3.1"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.velocity.tools:velocity-tools-parent","vulnerableRanges":["<3.1"],"patched":["3.1"],"from":["GHSA-fh63-4r66-jc7v"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.velocity:velocity-tools","vulnerableRanges":["<=2.0"],"patched":[],"from":["GHSA-fh63-4r66-jc7v"],"provenance":"source"}],"summary":{"text":"The default error page for VelocityView in Apache Velocity Tools prior to 3.1 reflects the vm file name supplied in the URL without proper neutralisation, creating a cross-site scripting flaw in that component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:30Z"},"euvd":{"id":"EUVD-2021-0652","exploited":false,"provenance":"source"}}