AI and data stack advisories

Severe, 6 weeks2431Projects328

2431 severe, 6 weeks · 328 projects

Apache Shiro: cross-site scripting

Apache Software Foundation

CVE-2026-129320 · Published Nov 16, 2026 · updated Nov 20, 2026

Low2.1
Fix: upgrade to 3.0.2 or later (2 fixed versions below)

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.

Affected versions

PackageAffectedFixed in
Apache Shiro
Product
< 3.0.23.0.2
>= 2.0.0-alpha-0, < 3.0.23.0.2
Details and references
CVSS 4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:X/V:D/RE:L/U:Green
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-79

More Apache Software Foundation advisories

All Apache Software Foundation