# CVE-2022-29947: GO-2022-0440 - Woodpecker allows cross-site scripting (XSS) via build logs in github.com/woodpecker-ci/woodpecker

Source: https://junglewise.ai/threats/cve-2022-29947-woodpecker-allows-cross-site-scripting-xss-via-build-logs  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

CVE-2022-29947 · Severity: low · CVSS 3.1 · Published 2024-08-21

Woodpecker allows cross-site scripting (XSS) via build logs in github.com/woodpecker-ci/woodpecker

Technologies: [github.com/woodpecker-ci/woodpecker (Go)](https://junglewise.ai/threats/technologies/github-com-woodpecker-ci-woodpecker). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2022-29947 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-29947 being exploited in the wild.

**How severe is CVE-2022-29947?** Low severity, with a CVSS score of 3.1, published 21 August 2024.

**Which products and versions are affected?** github.com/woodpecker-ci/woodpecker (Go) SEMVER:introduced=0,fixed=0.15.1.

**Is there a fix for CVE-2022-29947?** Yes. github.com/woodpecker-ci/woodpecker (Go): upgrade to 0.15.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-29947?** Check whether you run github.com/woodpecker-ci/woodpecker (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/woodpecker-ci/woodpecker (Go): upgrade to 0.15.1 or later

  ```sh
  go get github.com/woodpecker-ci/woodpecker@v0.15.1
  ```


## Affected products

- github.com/woodpecker-ci/woodpecker (Go) SEMVER:introduced=0,fixed=0.15.1

## Identifiers

- CVE-2022-29947
- GHSA-vmp5-c5hp-6c65
- GO-2022-0440

## Related threats

- [Woodpecker CI privilege escalation in Kubernetes backend](https://junglewise.ai/threats/cve-2026-61549-woodpecker-ci-privilege-escalation-in-kubernetes-backend)
- [GO-2023-2014 - Woodpecker does not validate webhook before changing any data in github.com/woodpecker-ci/woodpecker](https://junglewise.ai/threats/cve-2023-40034-woodpecker-does-not-validate-webhook-before-changing-any-data)
