cvelo
P4 · InfoCVSS 2.1EPSS 0.4%

Apache Shiro: Principal tags in Jakarta Pages and Jakarta Faces do not escape output, allowing cross-site scripting

  • CVE-2026-129320
  • GHSA-969f-mppv-qv32
  • EUVD-2026-126380

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.

Text from the CVE.org record.

Recommendation

  • Apache Software Foundation Apache Shiro

    • If you run a version before 3.0.2update to 3.0.2 or later
    • If you run a version from 2.0.0-alpha-0 to before 3.0.2update to 3.0.2 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Apache Software Foundation Apache Shiro

    Affected versionsFixed in
    before 3.0.23.0.2
    from 2.0.0-alpha-0 to before 3.0.23.0.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.