medium4.3
CVE-2021-21672
XXE vulnerability in Jenkins Selenium HTML report Plugin
Impact
Jenkins Selenium HTML report Plugin 1.0 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks. This allows attackers with the ability to control the report files parsed using this plugin to have Jenkins parse a crafted report file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery. Jenkins Selenium HTML report Plugin 1.1 disables external entity resolution for its XML parser.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:seleniumhtmlreport | <= 1.0 | 1.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Selenium Html Report | through 1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2021/06/30/1
- http://www.openwall.com/lists/oss-security/2022/04/14/2
- https://www.jenkins.io/security/advisory/2021-06-30/#SECURITY-2329
- https://github.com/advisories/GHSA-hxxp-6546-wv6r
- https://nvd.nist.gov/vuln/detail/CVE-2021-21672
- https://github.com/jenkinsci/seleniumhtmlreport-plugin/commit/5ca59b8c7d23af4450dc7f19c1b4107d59063ae1