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.
A workaround or mitigation is available. Apply it until an official patch is released.
CVSS v4.0 Metrics
Exploitability
Attack VectorNetwork
ComplexityLow
RequirementsPresent
PrivilegesNone
User InteractionActive
Threat
Exploit MaturityPoC
Vulnerable System
ConfidentialityLow
IntegrityLow
AvailabilityNone
Subsequent System
ConfidentialityNone
IntegrityNone
AvailabilityNone
Supplemental
SafetyNegligible
AutomatableYes
RecoveryAutomatic
Value DensityConcentrated
UrgencyMedium
Change Log
| Date | Source | Changes | Score |
|---|
| 2026-07-21 | PoC | E: U→P | 0.5 → 1.2 |
| 2026-07-21 | nvd | AV: P→N, AC: H→L, PR: H→N, VC: N→L, VI: N→L | 0.0 → 0.5 |
| 2026-07-21 | cve.org | initial, patch: Mitigation | 0.0 |
Affected Software
| Vendor | Product | Version |
|---|
| apache | velocity_tools | < 3.1 |
| Apache Software Foundation | Apache Velocity Tools | < 3.1 |
| debian | debian_linux | 9.0 |
Published: 2021-03-10