{"id":"CVE-2026-129320","aliases":["CVE-2026-129320"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Shiro: Principal tags in Jakarta Pages and Jakarta Faces do not escape output, allowing cross-site scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-16T13:21:51.490Z","modified":"2026-11-20T17:21:10.283Z","severity":{"scorer":"apache","scheme":"CVSS: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","score":2.1,"rating":"LOW"},"severities":[{"scorer":"apache","scheme":"CVSS: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","score":2.1,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.0.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Shiro","package":"org.apache.shiro:shiro-web","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-alpha-0","fixed":"3.0.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Shiro","package":"org.apache.shiro:shiro-jakarta-ee","source":"cvelist"}],"references":[{"url":"https://lists.apache.org/thread/wjs177lbrzpslkz8zvc31n07lgf7j0n1","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/14/2","tags":[],"sources":["cvelist","nvd"]}],"credits":["The ASF LLM-based security scan","Lenny Primak <lenny@flowlogix.com>"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-16T20:22:00.481Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-129320","url":"https://www.cve.org/CVERecord?id=CVE-2026-129320","licence":"CVE Terms of Use","modified":"2026-11-16T20:38:44.224Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-129320","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129320","licence":"Public domain","modified":"2026-11-20T17:21:10.283Z"}],"updatedAt":"2026-11-25T22:59:50.876Z","epss":{"score":0.00386,"percentile":0.34858,"date":"2026-12-01T12:00:22.000Z"}}