Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
2.1

CVE-2026-129320: Apache Shiro allows cross-site scripting via principal tag

CVE-2026-129320 · published 6 days ago
Summary

The Shiro web and Jakarta EE components can insert unfiltered user data into pages, enabling attackers to run malicious scripts if a principal value is untrusted. This affects all Shiro versions up to 3.0.1 when the principal tag is used. Upgrade to Shiro 3.0.2 or later, or ensure principal values are validated before use.

What to do
  • Update apache software foundation apache shiro to version 3.0.2 or later.
Affected software
Ecosystem VendorProductAffected versions
Debian:12 debian shiro All versions
Debian:13 debian shiro All versions
Debian:14 debian shiro All versions
– apache software foundation apache shiro < 3.0.2
Ubuntu:Pro:16.04:LTS canonical shiro All versions
Original advisory text
DEBIAN-CVE-2026-129320
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
2.1 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published16 Nov 2026
Updated22 Nov 2026
First seen14 Nov 2026
Track software like this
Free during beta