CVE-2023-27898
Description
Jenkins 2.270 through 2.393 (both inclusive), LTS 2.277.1 through 2.375.3 (both inclusive) does not escape the Jenkins version a plugin depends on when rendering the error message stating its incompatibility with the current version of Jenkins, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide plugins to the configured update sites and have this message shown by Jenkins instances.
How to fix
- jenkins jenkins2.394, 2.375.4 or later
- org.jenkins-ci.main:jenkins-core2.394, 2.375.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jenkins jenkins | 2.270 ≤ v < 2.394, 2.277.1 ≤ v < 2.375.4 | 2.394, 2.375.4 |
| org.jenkins-ci.main:jenkins-coreMaven | 2.376 ≤ v < 2.394, v < 2.375.4 | 2.394, 2.375.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.