{"id":"CVE-2026-129320","published":"2026-11-16T13:21:51Z","modified":"2026-11-16T20:38:44Z","title":"Apache Shiro: Principal tags in Jakarta Pages and Jakarta Faces do not escape output, allowing cross-site scripting","vendor":"Apache","product":"Apache Shiro","tier":"tail","description":{"text":"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.\nThis issue affects all Apache Shiro versions through 3.0.1, only when the principal tag is used.\n\nMitigation: Upgrade to version 3.0.2 or later, which escapes the output.\nAlternatively, validate principal values on input.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00386,"percentile":0.33467,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://lists.apache.org/thread/wjs177lbrzpslkz8zvc31n07lgf7j0n1","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/14/2","tags":[]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":6.69},{"name":"CVSS severity","points":1.47}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Shiro","versions":["< 3.0.2"]},{"vendor":"Apache Software Foundation","product":"Apache Shiro","versions":[">= 2.0.0-alpha-0, < 3.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-16T20:22:00.481430Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-126380","exploited":false,"provenance":"source"}}