Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWZoNjMtNHI2Ni1qYzd2

Cross-site scripting (XSS) in Apache Velocity Tools

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.

Permalink: https://github.com/advisories/GHSA-fh63-4r66-jc7v
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWZoNjMtNHI2Ni1qYzd2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 3 years ago
Updated: over 1 year ago


CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-fh63-4r66-jc7v, CVE-2020-13959
References: Blast Radius: 23.0

Affected Packages

maven:org.apache.velocity:velocity-tools
Dependent packages: 311
Dependent repositories: 5,930
Downloads:
Affected Version Ranges: <= 2.0
No known fixed version
All affected versions:
maven:org.apache.velocity.tools:velocity-tools-parent
Dependent packages: 0
Dependent repositories: 0
Downloads:
Affected Version Ranges: < 3.1
Fixed in: 3.1
All affected versions:
All unaffected versions: