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

- Priority: **Routine**
- Reason: Not severe (CVSS 2.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-16 · Modified: 2026-11-16
- Aliases: DEBIAN-CVE-2026-129320, UBUNTU-CVE-2026-129320
- Record: https://cvemate.com/vulnerability/CVE-2026-129320 · JSON: https://cvemate.com/vulnerability/CVE-2026-129320/json

## Description

```text
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.
```

## Signals

- CVSS: 2.1 low (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/S:N/AU:N/V:D/RE:L/U:Green
- EPSS: 0.386%, percentile 34.868%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache shiro: \< 3.0.2 \| ≥ 2.0.0-alpha-0, \< 3.0.2
- debian shiro (Debian): All versions (No fix recorded)
- ubuntu shiro (Ubuntu): All versions (No fix recorded)

## References

- <https://security-tracker.debian.org/tracker/CVE-2026-129320>
- <https://lists.apache.org/thread/wjs177lbrzpslkz8zvc31n07lgf7j0n1>
- <http://www.openwall.com/lists/oss-security/2026/11/14/2>
- <https://ubuntu.com/security/CVE-2026-129320>
- <https://www.cve.org/CVERecord?id=CVE-2026-129320>
- <https://www.openwall.com/lists/oss-security/2026/11/14/2>
- <https://shiro.apache.org/security-reports.html#cve_2026_129320>

---

Data as of 2026-12-05T03:40:48.872Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
