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 | Vendor | Product | Affected 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.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2026-129320 Vendor Advisory
- https://lists.apache.org/thread/wjs177lbrzpslkz8zvc31n07lgf7j0n1
- http://www.openwall.com/lists/oss-security/2026/11/14/2
- https://ubuntu.com/security/CVE-2026-129320 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-129320 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2026/11/14/2 Third Party Advisory
- https://shiro.apache.org/security-reports.html#cve_2026_129320 Third Party Advisory
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
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published16 Nov 2026
Updated22 Nov 2026
First seen14 Nov 2026
Sources
DEBIAN-CVE-2026-129320 · OSV
CVE-2026-129320 · NVD
CVE-2026-129320 · MITRE
UBUNTU-CVE-2026-129320 · OSV
Track software like this
Free during beta