{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "7.0.109"
              },
              {
                "introduced": "8.5.0"
              },
              {
                "last_affected": "8.5.100"
              },
              {
                "introduced": "9.0.0"
              },
              {
                "fixed": "9.0.119"
              },
              {
                "introduced": "10.1.0"
              },
              {
                "fixed": "10.1.56"
              },
              {
                "introduced": "11.0.0"
              },
              {
                "fixed": "11.0.23"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "2cdef2c0241cdf70b5edd88d3733a52e6b675047"
            },
            {
              "introduced": "e37b977db6f47e4380ad67114a49e8568951c953"
            },
            {
              "last_affected": "eddcf278ad919382608ada1898b2c5b63675c6d5"
            },
            {
              "introduced": "16bf392c67833ad549733b58c350ff92b5ee782a"
            },
            {
              "fixed": "36c2e40f60e3176f12c0344f40f656251448b004"
            },
            {
              "introduced": "e9d17cddc285615807ec5fef09240777436b25dc"
            },
            {
              "fixed": "59f3f1ab4f905f94c9c99cad579d6afb3a935b66"
            },
            {
              "introduced": "56e547d387ab49f688c93fe9ca082b1b5d94deed"
            },
            {
              "fixed": "b5c1bba61f2e54875bd6d538ae145fffd7b217a8"
            }
          ],
          "repo": "https://github.com/apache/tomcat",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-80"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50229.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "11.0.0-M1"
          },
          {
            "last_affected": "11.0.22"
          },
          {
            "introduced": "10.1.0-M1"
          },
          {
            "last_affected": "10.1.55"
          },
          {
            "introduced": "9.0.0.M1"
          },
          {
            "last_affected": "9.0.118"
          },
          {
            "introduced": "8.5.0"
          },
          {
            "last_affected": "8.5.100"
          },
          {
            "introduced": "7.0.0"
          },
          {
            "last_affected": "7.0.109"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "11.0.0-M1"
          },
          {
            "fixed": "11.0.22"
          },
          {
            "introduced": "10.1.0-M1"
          },
          {
            "fixed": "10.1.55"
          },
          {
            "introduced": "9.0.0.M1"
          },
          {
            "fixed": "9.0.118"
          },
          {
            "introduced": "8.5.0"
          },
          {
            "fixed": "8.5.100"
          },
          {
            "introduced": "7.0.0"
          },
          {
            "fixed": "7.0.109"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in the number guess example for Apache Tomcat.\n\nThis issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.22, from 10.1.0-M1 through 10.1.55, from 9.0.0.M1 through 9.0.118, from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109. Other versions that have reached end of support may also be affected.\n\nUsers are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.",
  "id": "CVE-2026-50229",
  "modified": "2026-07-15T01:49:21.261578497Z",
  "published": "2026-06-29T20:36:24.683Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/06/29/20"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50229.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-50229"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache Tomcat: XSS in number guess example"
}