CVE-2026-129320

Apache Shiro: Principal tags in Jakarta Pages and Jakarta Faces do not escape output, allowing cross-site scripting

Low published · updated

2.1
CVSS score out of 10 · NVD (apache.org)

Description

The shiro:principal tags in shiro-web (Jakarta Pages) and shiro-jakarta-ee (Jakarta Faces) did not escape their output, which could allow cross-site scripting when a principal value is not fully trusted.
This issue affects all Apache Shiro versions through 3.0.1, only when the principal tag is used.

Mitigation: Upgrade to version 3.0.2 or later, which escapes the output.
Alternatively, validate principal values on input.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
org.apache.shiro:shiro-web maven 0 → <3.0.23.0.2 CVE.org
apache shiro apache software foundation 0 → <3.0.23.0.2 CVE.org
org.apache.shiro:shiro-jakarta-ee maven 2.0.0-alpha-0 → <3.0.23.0.2 CVE.org

References