The shiro:principal tags in shiro-web (Jakarta Pages) and shiro-jakarta-ee (Jakarta Faces) did...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Apache Software FoundationApache Shiro |
≥ 2.0.0-alpha-0, < 3.0.2→ 3.0.2 |
3.0.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-129320 shiro No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-129320 shiro No fixed version in this record
Original description The description as published by the source.
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.
Source: oss-security (Openwall) NVD GitHub Advisory