Affected versions
Ubuntu20.04:LTS/shiro
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu22.04:LTS/shiro
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/shiro
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/shiro
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/shiro
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/shiro
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:24.04:LTS/shiro
- Affected versions
- *
- Fixed version
- Not reported
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.

