Content-Security-Policy disabled by Red Hat Dependency Analytics Jenkins Plugin
Jenkins sets the Content-Security-Policy header to static files served by Jenkins (specifically DirectoryBrowserSupport), such as workspaces, /userContent, or archived artifacts, unless a Resource Root URL is specified.
Red Hat Dependency Analytics Plugin 0.7.1 and earlier globally disables the Content-Security-Policy header for static files served by Jenkins whenever the 'Invoke Red Hat Dependency Analytics (RHDA)' build step is executed. This allows cross-site scripting (XSS) attacks by users with the ability to control files in workspaces, archived artifacts, etc.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | io.jenkins.plugins:redhat-dependency-analytics | < 0.9.0 | 0.9.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23905
- https://github.com/jenkinsci/redhat-dependency-analytics-plugin/commit/123e37795eb69f533a1cd8bd74113ebb1fdbdcda
- https://github.com/jenkinsci/redhat-dependency-analytics-plugin
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3322
- http://www.openwall.com/lists/oss-security/2024/01/24/6
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
io.jenkins.plugins:redhat-dependency-analytics- Disclosed
- 24.01.2024
- Updated
- 11.10.2026 11:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-x22x-5pp9-8v7f - CC BY 4.0
Vulnerability history: io.jenkins.plugins:redhat-dependency-analytics
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.