CVE-2023-35146 Jenkins Template Workflows Plugin vulnerable to Stored Cross-site Scripting
Attackers with job creation privileges can inject malicious scripts via job names, leading to stored XSS in Jenkins Template Workflows Plugin.
- 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-35146?
CVE-2023-35146 is a medium-severity cross-site scripting vulnerability in Jenkins Template Workflows Plugin, published on 14 Jun 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 Template Workflows Plugin 41.v32d86a_313b_4a and earlier does not escape names of jobs used as buildings blocks for Template Workflow Job, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to create jobs.
Weakness: CWE-79
Which versions are affected by CVE-2023-35146?
2 open source packages ship an affected version, including org.jenkins.plugin.templateWorkflows:template-workflows. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins.plugin.templateWorkflows:template-workflows Maven | All versions to 41.v32d86a | None |
org.jenkins.plugin.templateWorkflows:template-workflows Maven | All versions to 41.v32d86a | None |
Products include Jenkins Template Workflows.
How do I fix CVE-2023-35146?
No fix has been published for CVE-2023-35146 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-35146 being exploited?
There is no known exploitation of CVE-2023-35146 in the wild and no public exploit code.
Sources
Also known as GHSA-62v2-xwh3-5gvx.