All vulnerabilities

Maven

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
Published
16 Nov 2026
Last changed
16 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.0.2
Exploit chance
0.4% in the next 30 daysHigher than 33% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Only under certain conditions · Needs a user account · Needs someone to view a page or file
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
org.apache.shiro:shiro-jakarta-eeMaven · osv:Maven:org.apache.shiro:shiro-jakarta-ee
  • From 2.0.0-alpha-0 before 3.0.2
org.apache.shiro:shiro-webMaven · osv:Maven:org.apache.shiro:shiro-web
  • Every version before 3.0.2

About org.apache.shiro:shiro-jakarta-ee

Vulnerabilities in org.apache.shiro:shiro-jakarta-ee

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for org.apache.shiro:shiro-jakarta-ee

About org.apache.shiro:shiro-web

Vulnerabilities in org.apache.shiro:shiro-web

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for org.apache.shiro:shiro-web

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129320