CVE-2023-40350 Jenkins Docker Swarm Plugin stored cross-site scripting vulnerability
Attackers controlling Docker responses can inject scripts into the Jenkins Docker Swarm Dashboard, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-40350?
CVE-2023-40350 is a medium-severity cross-site scripting vulnerability in Jenkins Docker Swarm Plugin, published on 16 Aug 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Jenkins Docker Swarm Plugin 1.11 and earlier does not escape values returned from Docker before inserting them into the Docker Swarm Dashboard view, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control responses from Docker.
Weakness: CWE-79
Which versions are affected by CVE-2023-40350?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:docker-swarm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:docker-swarm Maven | All versions to 1.11 | None |
org.jenkins-ci.plugins:docker-swarm Maven | All versions to 1.11 | None |
Products include Jenkins Docker Swarm.
How do I fix CVE-2023-40350?
No fix has been published for CVE-2023-40350 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-40350 being exploited?
There is no known exploitation of CVE-2023-40350 in the wild and no public exploit code.
Sources
Also known as GHSA-v9rw-hjr3-426h.