Skip to content

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

LowCVSS 2.1 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 2 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/shiro(Debian 12) = 1.3.2-5; = 1.3.2-6; All versions No fix listed No fix yet
debian/shiro(Debian 13) = 1.3.2-6; All versions No fix listed No fix yet
debian/shiro(Debian 14) = 1.3.2-6; All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 26.10) All versions No fix listed No fix yet
org.apache.shiro/shiro-jakarta-ee(Maven) >= 2.0.0-alpha-0, < 3.0.2 3.0.2 Fixed
org.apache.shiro/shiro-web(Maven) < 3.0.2 3.0.2 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.shiro/shiro-web(Maven) < 3.0.2 3.0.2
org.apache.shiro/shiro-jakarta-ee(Maven) >= 2.0.0-alpha-0, < 3.0.2 3.0.2
debian/shiro(Debian:12) All versions No fix listed
debian/shiro(Debian:14) All versions No fix listed
debian/shiro(Debian:13) All versions No fix listed
ubuntu/shiro(Ubuntu:22.04) All versions No fix listed
ubuntu/shiro(Ubuntu:24.04) All versions No fix listed
ubuntu/shiro(Ubuntu:26.04) All versions No fix listed
ubuntu/shiro(Ubuntu:26.10) All versions No fix listed
debian/shiro(Debian:12) = 1.3.2-5 No fix listed
debian/shiro(Debian:12) = 1.3.2-6 No fix listed
debian/shiro(Debian:13) = 1.3.2-6 No fix listed
debian/shiro(Debian:14) = 1.3.2-6 No fix listed

References