High, CVSS 8.0MavenPublished
Content-Security-Policy disabled by Red Hat Dependency Analytics Jenkins Plugin
CVE-2024-23905 · GHSA-x22x-5pp9-8v7f
- Affected
- Maven io.jenkins.plugins:redhat-dependency-analytics < 0.9.0
- Fixed in
- 0.9.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.9.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.