PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-129320 Apache Software Foundation CVE debrief

Apache Shiro versions through 3.0.1 have a cross-site scripting vulnerability in shiro-web (Jakarta Pages) and shiro-jakarta-ee (Jakarta Faces) when using the shiro:principal tag with untrusted principal values. The vulnerability exists because the shiro:principal tags do not escape their output. This could allow an attacker to inject malicious scripts into the application. Defenders managing systems using Apache Shiro shiro-web (Jakarta Pages) or shiro-jakarta-ee (Jakarta Faces) with untrusted principal values should assess exposure and prioritize upgrading to version 3.0.2 or later, or validate principal values on input to prevent cross-site scripting.

Vendor
Apache Software Foundation
Product
Apache Shiro
CVSS
LOW 2.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-16
Original CVE updated
2026-11-16
Advisory published
2026-11-16
Advisory updated
2026-11-16

Who should care

Defenders managing systems using Apache Shiro shiro-web (Jakarta Pages) or shiro-jakarta-ee (Jakarta Faces) with untrusted principal values should assess exposure and prioritize upgrading to version 3.0.2 or later.

Why it matters

Apache Shiro versions through 3.0.1 have a cross-site scripting vulnerability in shiro-web (Jakarta Pages) and shiro-jakarta-ee (Jakarta Faces) when using the shiro:principal tag with untrusted principal values. Defenders should prioritize upgrading to version 3.0.2 or later or validating principal values.

  • Cross-site scripting could occur when using the shiro:principal tag with untrusted principal values
  • Defenders must verify if systems are using affected Apache Shiro versions and the shiro:principal tag
  • Upgrading to version 3.0.2 or later will prevent the vulnerability
  • Input validation for principal values is an alternative mitigation

Technical summary

The shiro:principal tags in shiro-web (Jakarta Pages) and shiro-jakarta-ee (Jakarta Faces) did not escape their output, allowing cross-site scripting when a principal value is not fully trusted. This issue affects all Apache Shiro versions through 3.0.1. The vulnerability is caused by the lack of output escaping in the shiro:principal tags. This could allow an attacker to inject malicious scripts into the application. Upgrading to version 3.0.2 or later will prevent the vulnerability. Alternatively, validating principal values on input can mitigate the risk.

Defensive priority

Defenders should prioritize upgrading to Apache Shiro version 3.0.2 or later to prevent cross-site scripting. Systems using shiro-web (Jakarta Pages) or shiro-jakarta-ee (Jakarta Faces) with untrusted principal values are at risk.

Recommended defensive actions

  • Upgrade to Apache Shiro version 3.0.2 or later
  • Validate principal values on input
  • Review systems using shiro-web (Jakarta Pages) or shiro-jakarta-ee (Jakarta Faces) for potential exposure
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The vulnerability exists in Apache Shiro versions through 3.0.1, affecting shiro-web (Jakarta Pages) and shiro-jakarta-ee (Jakarta Faces) when the shiro:principal tag is used with untrusted principal values.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-129320 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-129320

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-129320 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-129320

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.