Read the docs

Cross-site scripting in Apache Shiro principal tags

Priority LOW 8CWE-79Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Fixed Apache Shiro (Apache Software Foundation): 3.0.2

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

VendorProductAffected versionsFixed inStatusSource
ApacheApache Shirobefore 3.0.23.0.2Patch availableCNA
ApacheApache Shiro2.0.0-alpha-0 to before 3.0.23.0.2Patch availableCNA
  • Apache Shiro VendorApache Affected before 3.0.2 Fixed in 3.0.2 Patch available CNA
  • Apache Shiro VendorApache Affected 2.0.0-alpha-0 to before 3.0.2 Fixed in 3.0.2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*——Apache
  • cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* Versions — — ·Apache

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

  1. 2026-11-16 Threatist record created from CVE-2026-129320
  2. 2026-11-16 Alias added: GHSA-969f-mppv-qv32
  3. 2026-11-16 CISA SSVC decision points changed

References

  • 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
See all 4172 →

Sources