# CVE-2022-29947: Woodpecker allows cross-site scripting (XSS) via build logs

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2022-04-29T20:23:22.000Z
- Modified: 2026-06-17T04:41:01.070Z
- Also known as: GHSA-vmp5-c5hp-6c65, GO-2022-0440
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Woodpecker before 0.15.1 allows XSS via build logs because web/src/components/repo/build/BuildLog.vue lacks escaping.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/woodpecker-ci/woodpecker (Go): before 0.15.1
- woodpecker-ci woodpecker: before 0.15.1

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/woodpecker-ci/woodpecker/releases/tag/v0.15.1> (third-party-advisory, web)
- <https://github.com/woodpecker-ci/woodpecker/pull/879> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29947> (advisory)
- <https://github.com/woodpecker-ci/woodpecker> (web)
- <https://github.com/advisories/GHSA-vmp5-c5hp-6c65> (advisory)

## Sources

- CVE List: [CVE-2022-29947](https://www.cve.org/CVERecord?id=CVE-2022-29947), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-vmp5-c5hp-6c65](https://github.com/advisories/GHSA-vmp5-c5hp-6c65), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0440](https://pkg.go.dev/vuln/GO-2022-0440), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-29947](https://nvd.nist.gov/vuln/detail/CVE-2022-29947), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29947 · Whole record: https://cve.day/CVE-2022-29947.json · Rebuilt by cve.day 2026-11-25T22:58:11.317Z
