Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-25761

Jenkins JUnit Plugin 1166.va_436e268e972 and earlier does not escape test case class names in JavaScript expressions, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control test case class names in the JUnit resources processed by the plugin.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-25761
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:01 UTC · Revision 1

Source evidence

CVE-2023-25761

core-osv · Original source

Published 15 Feb 2023, 14:15 UTC

Jenkins JUnit Plugin 1166.va_436e268e972 and earlier does not escape test case class names in JavaScript expressions, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control test case class names in the JUnit resources processed by the plugin.

osv:CVE-2023-25761
Complete source record
{
  "id": "8b8543c1e5b7713523f073044b1f14e584b9b6c6b524c0e7bfade11d2dd0fbdf",
  "url": "https://osv.dev/vulnerability/CVE-2023-25761",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-25761",
    "summary": "Jenkins JUnit Plugin 1166.va_436e268e972 and earlier does not escape test case class names in JavaScript expressions, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control test case class names in the JUnit resources processed by the plugin.",
    "evidence": "osv:CVE-2023-25761",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-25761",
      "aliases": [
        "CVE-2023-25761",
        "GHSA-ph74-8rgx-64c5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jenkinsci/junit-plugin",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a436e268e972d6eaa1ac8ae51ff16772a10c84a6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jenkins:junit:*:*:*:*:*:jenkins:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1166.va_436e268e972"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1166.va_436e268e972",
            "1159.v0b_396e1e07dd",
            "1143.v8d9a_e3355270",
            "1156.vcf492e95a_a_b_0",
            "1153.v1c24f1a_d2553",
            "1150.v5c2848328b_60",
            "1144.v909f4d9978e8",
            "next",
            "1119.va_a_5e9068da_d7",
            "junit-1.64",
            "junit-1.53.1",
            "junit-1.63",
            "junit-1.62",
            "junit-1.61",
            "junit-1.60",
            "junit-1.59",
            "junit-1.58",
            "junit-1.57",
            "junit-1.56",
            "junit-1.55",
            "junit-1.54",
            "junit-1.53",
            "junit-1.52",
            "junit-1.51",
            "junit-1.50",
            "junit-1.49",
            "junit-1.48",
            "junit-1.47",
            "junit-1.46",
            "junit-1.45",
            "junit-1.44",
            "junit-1.43",
            "junit-1.42",
            "junit-1.41",
            "junit-1.39",
            "junit-1.38",
            "junit-1.37",
            "junit-1.36",
            "junit-1.35",
            "junit-1.34",
            "junit-1.33",
            "junit-1.32",
            "junit-1.40",
            "junit-1.31",
            "junit-1.30",
            "untagged-5894d25928dffc9e1c74",
            "junit-1.29",
            "junit-1.28",
            "junit-1.27",
            "junit-1.26.1",
            "junit-1.26",
            "junit-1.25",
            "junit-1.24",
            "junit-1.23",
            "junit-1.22.2",
            "junit-1.22.1",
            "junit-1.22",
            "junit-1.22-beta-1",
            "junit-1.21",
            "junit-1.20",
            "junit-1.19",
            "junit-1.18",
            "junit-1.17",
            "junit-1.16",
            "junit-1.15",
            "junit-1.13",
            "junit-1.12",
            "junit-1.11",
            "junit-1.10",
            "junit-1.9",
            "junit-1.8",
            "junit-1.7",
            "junit-1.6",
            "junit-1.5",
            "junit-1.4",
            "junit-1.3",
            "junit-1.2",
            "junit-1.2-beta-4",
            "junit-1.2-beta-3",
            "junit-1.2-beta-2",
            "junit-1.2-beta-1",
            "junit-1.1",
            "junit-1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25761.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:23.870470005Z",
      "provider": "osv",
      "references": [
        "https://www.jenkins.io/security/advisory/2023-02-15/#SECURITY-3032"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2023-25761",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431026,
  "published_at": "2023-02-15T14:15:13.387+00:00"
}