Cross-site Scripting (XSS) Affecting tomcat-lib package, versions <1:9.0.120-1.el8_10


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
4.09% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-TOMCATLIB-20150385
  • published26 Sept 2026
  • disclosed29 Jun 2026

Introduced: 29 Jun 2026

CVE-2026-50229  (opens in a new tab)
CWE-80  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 tomcat-lib to version 1:9.0.120-1.el8_10 or higher.
This issue was patched in RLSA-2026:68677.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat-lib package and not the tomcat-lib package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in the number guess example for Apache Tomcat.

This 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.

Users are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.

CVSS Base Scores

version 3.1