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

- Severity: Low 2.1 (CVSS:4.0, scored by apache) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-11-16T13:21:51.490Z
- Modified: 2026-11-20T17:21:10.283Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.shiro:shiro-web: before 3.0.2
- org.apache.shiro:shiro-jakarta-ee: from 2.0.0-alpha-0 before 3.0.2

## References

- <https://lists.apache.org/thread/wjs177lbrzpslkz8zvc31n07lgf7j0n1> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/11/14/2>

## Sources

- CVE List: [CVE-2026-129320](https://www.cve.org/CVERecord?id=CVE-2026-129320), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-129320](https://nvd.nist.gov/vuln/detail/CVE-2026-129320), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-129320 · Whole record: https://cve.day/CVE-2026-129320.json · Rebuilt by cve.day 2026-11-25T22:59:50.876Z
