Apache Software FoundationCVE-2026-129320
Apache Shiro: cross-site scripting
Fix: upgrade to 3.0.2 or later (2 fixed versions below)
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Apache Shiro Product | < 3.0.2 | 3.0.2 |
| >= 2.0.0-alpha-0, < 3.0.2 | 3.0.2 |
Details and references
- CVSS 4.0
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:X/V:D/RE:L/U:Green
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-79