{
  "schema_version": "1.4.0",
  "id": "GHSA-vmp5-c5hp-6c65",
  "modified": "2022-05-26T19:48:38Z",
  "published": "2022-04-30T00:00:33Z",
  "aliases": [
    "CVE-2022-29947"
  ],
  "summary": "Woodpecker allows cross-site scripting (XSS) via build logs",
  "details": "Woodpecker before 0.15.1 allows XSS via build logs because web/src/components/repo/build/BuildLog.vue lacks escaping.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/woodpecker-ci/woodpecker"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.15.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29947"
    },
    {
      "type": "WEB",
      "url": "https://github.com/woodpecker-ci/woodpecker/pull/879"
    },
    {
      "type": "WEB",
      "url": "https://github.com/woodpecker-ci/woodpecker"
    },
    {
      "type": "WEB",
      "url": "https://github.com/woodpecker-ci/woodpecker/releases/tag/v0.15.1"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-05-03T20:18:08Z",
    "nvd_published_at": "2022-04-29T21:15:00Z"
  }
}