OESA-2021-1122

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1122
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1122.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2021-1122
Upstream
Published
2021-04-07T11:02:46Z
Modified
2025-09-03T06:16:58.513763Z
Summary
velocity-tools security update
Details

The VelocityTools project is a collection of useful Java classes (aka tools), as well as infrastructure to easily, automatically and transparently make these tools available to Velocity templates. Project include easy integration of Velocity into the view-layer of web applications (via the VelocityViewTag and VelocityViewServlet) and integration with Struts 1.x applications.

Security Fix(es):

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.(CVE-2020-13959)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / velocity-tools

Package

Name
velocity-tools
Purl
pkg:rpm/openEuler/velocity-tools&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0-2.oe1

Ecosystem specific

{
    "noarch": [
        "velocity-tools-2.0-2.oe1.noarch.rpm",
        "velocity-tools-javadoc-2.0-2.oe1.noarch.rpm"
    ],
    "src": [
        "velocity-tools-2.0-2.oe1.src.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2021-1122.json"