Cross-site scripting in Apache Shiro principal tags
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Apache Shiro versions through 3.0.1 are affected when the shiro:principal tag is used in shiro-web (Jakarta Pages) and shiro-jakarta-ee (Jakarta Faces). The tags do not escape their output, a missing neutralization of input that allows cross-site scripting (CWE-79). The flaw can allow cross-site scripting when a principal value is not fully trusted.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Apache Shiro to version 3.0.2 or later, which escapes the output. Alternatively, validate principal values on input.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.2
- Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Shiro 3.0.2
6 records Highest priority Priority LOW 6 LOW
Other records, highest priority first
- TI-2026-92117 Apache Shiro does not always enforce authorization annotationsPriority LOW 25
- TI-2026-92118 Saved form replay in Apache Shiro may weaken cookie securityPriority LOW 24
- TI-2026-92129 Apache Shiro PropertiesRealm reload keeps deleted users activePriority LOW 9
Timeline
- 2026-11-16 Threatist record created from CVE-2026-129320
- 2026-11-16 Alias added: GHSA-969f-mppv-qv32
- 2026-11-16 CISA SSVC decision points changed
References
More Apache vulnerabilities
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2024-18186 Remote command execution in Apache HugeGraph-Server via Gremlin KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25106 Apache ActiveMQ OpenWire deserialization allows remote code execution KEVCVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-129320 · CVE Program
- CVE-2026-129320 · NVD
- GHSA-969f-mppv-qv32 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences