CVE-2026-129320 · Package
NO FIX YET · SEE WHAT TO DO
The shiro:principal tags in shiro-web and shiro-jakarta-ee did not escape their output, so untrusted principal values can inject script into rendered pages. An attacker who controls a principal value can run script in a victim's browser.
first public Nov 16, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Applications that use the Shiro principal tag in Jakarta Pages (shiro-web) or Jakarta Faces (shiro-jakarta-ee) views, and only where principal values are not fully trusted. Applications that do not use the principal tag are not affected.
Not affected if principal-tag-unused
Who cares apache-shiro, jakarta-ee, java
shiro-web or shiro-jakarta-ee in its build file.<shiro:principal tags.3.0.2 or later, which escapes the output.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.
This page as .md · .json · 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
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.