CVE-2026-129320
published low CVSS 4.0 · 2.1Apache Shiro: Principal tags in Jakarta Pages and Jakarta Faces do not escape output, allowing cross-site scripting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.shiro:shiro-webApache Shiro · 0 to < 3.0.2 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | org.apache.shiro:shiro-jakarta-eeApache Shiro · 2.0.0-alpha-0 to < 3.0.2 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- apache · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Shiro | 0 to < 3.0.2 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Shiro | 2.0.0-alpha-0 to < 3.0.2 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')
References
2Provider assertions
3apache · cna
Apache Shiro: Principal tags in Jakarta Pages and Jakarta Faces do not escape output, allowing cross-site scripting
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 35ecfe7396c5150fc85c62b46078323f3e144f7c268be9ec0ba571272ecd002e
- Ingested
- 16 Nov 2026, 20:47:36 UTC
- Source record
- Official CVE record