CVE-2021-22510: Reflected XSS vulnerability in Jenkins Micro Focus Application Automation Tools Plugin
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.47273%
CWE
Published
5/24/2022
Updated
12/22/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.jenkins-ci.plugins:hp-application-automation-tools-plugin | maven | <= 6.7 | 6.8 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the unescaped use of convertResult.getConvertedTestsString() in the form validation response. The commit 9fbd698 explicitly adds Util.escape() to sanitize this output, confirming this was the vulnerable code path. The method handles user-supplied test data and returns HTML content without proper output encoding in vulnerable versions, matching the XSS vulnerability description in CVE-2021-22510 and GHSA-gc2r-ccfh-62v9.