Cross-Site Scripting Vulnerability in Apache Shiro Web Framework
CVE-2026-129320
2.1LOW
What is CVE-2026-129320?
The Apache Shiro web framework has a vulnerability in its shiro:principal tags used within shiro-web and shiro-jakarta-ee components, which do not properly escape output. This could lead to a cross-site scripting (XSS) attack when a principal value sourced from users is not adequately sanitized. Affected versions include all versions of Apache Shiro up to 3.0.1. Users are advised to upgrade to version 3.0.2 or later, which includes proper output escaping. Additionally, validating principal values upon input can further mitigate potential XSS risks.
Affected Version(s)
Apache Shiro 0 < 3.0.2
Apache Shiro 2.0.0-alpha-0 < 3.0.2
References
CVSS V4
Score:
2.1
Severity:
LOW
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
The ASF LLM-based security scan
Lenny Primak <lenny@flowlogix.com>