CVE-2021-21680: XXE vulnerability in Jenkins Nested View Plugin
7.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.84441%
CWE
Published
5/24/2022
Updated
12/7/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.jenkins-ci.plugins:nested-view | maven | <= 1.20 | 1.21 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insecure XML processing in the updateByXml method. The pre-patch code directly used TransformerFactory.newInstance().newTransformer() without security settings, leaving XXE protections disabled. The fix explicitly adds security features (FEATURE_SECURE_PROCESSING and access restrictions), confirming this was the vulnerable code path. The method's purpose of processing XML input from view configurations matches the attack vector described in advisories.