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 s...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:16.04:LTSshiro |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSshiro |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSshiro |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSshiro |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSshiro |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10shiro |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSshiro |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
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: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report openwall.com
- report shiro.apache.org