CVE-2026-129320
Published:November 16, 2026
Updated:November 23, 2026
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 Packages
https://github.com/apache/shiro.git (GITHUB):
Affected version(s) >=shiro-root-1.0.0-incubating <shiro-root-3.0.2 || >=shiro-root-2.0.0-alpha-1 <shiro-root-3.0.2 || >=shiro-root-3.0.0-alpha-1 <shiro-root-3.0.2Fix Suggestion:
Update to version shiro-root-3.0.2org.apache.shiro:shiro-web (JAVA):
Affected version(s) =1.13.0 <1.13.0-shiro-1.13.3Fix Suggestion:
Update to version 1.13.0-shiro-1.13.3org.apache.shiro:shiro-web (JAVA):
Affected version(s) =1.8.0 <1.8.0-shiro-1.8.3Fix Suggestion:
Update to version 1.8.0-shiro-1.8.3org.apache.shiro:shiro-web (JAVA):
Affected version(s) >=2.0.0-alpha-1 <3.0.2 || >=3.0.0-alpha-1 <3.0.2 || >=1.0.0-incubating <3.0.2Fix Suggestion:
Update to version 3.0.2org.apache.shiro:shiro-jakarta-ee (JAVA):
Affected version(s) >=2.0.0-alpha-1 <3.0.2 || >=3.0.0-alpha-1 <3.0.2Fix Suggestion:
Update to version 3.0.2Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation
EPSS
Base Score:
0.39