{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-129320","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","state":"PUBLISHED","assignerShortName":"apache","dateReserved":"2026-11-13T23:56:28.671Z","datePublished":"2026-11-16T13:21:51.490Z","dateUpdated":"2026-11-16T20:38:44.224Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2026-11-16T13:21:51.490Z"},"title":"Apache Shiro: Principal tags in Jakarta Pages and Jakarta Faces do not escape output, allowing cross-site scripting","problemTypes":[{"descriptions":[{"description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","cweId":"CWE-79","type":"CWE"}]}],"source":{"discovery":"INTERNAL"},"affected":[{"vendor":"Apache Software Foundation","product":"Apache Shiro","collectionURL":"https://repo.maven.apache.org/maven2","packageName":"org.apache.shiro:shiro-web","packageURL":"pkg:maven/org.apache.shiro/shiro-web","versions":[{"status":"affected","version":"0","lessThan":"3.0.2","versionType":"semver"}],"defaultStatus":"unaffected"},{"vendor":"Apache Software Foundation","product":"Apache Shiro","collectionURL":"https://repo.maven.apache.org/maven2","packageName":"org.apache.shiro:shiro-jakarta-ee","packageURL":"pkg:maven/org.apache.shiro/shiro-jakarta-ee","versions":[{"status":"affected","version":"2.0.0-alpha-0","lessThan":"3.0.2","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"value":"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.","lang":"en","supportingMedia":[{"type":"text/html","base64":false,"value":"The <code>shiro:principal</code>&nbsp;tags in <code>shiro-web</code>&nbsp;(Jakarta Pages) and <code>shiro-jakarta-ee</code>&nbsp;(Jakarta Faces) did not escape their output, which could allow cross-site scripting when a principal value is not fully trusted.<br>This issue affects all Apache Shiro versions through 3.0.1, only when the <code>principal</code>&nbsp;tag is used.<br><br>Mitigation: Upgrade to version 3.0.2 or later, which escapes the output.<br>Alternatively, validate principal values on input."}]}],"references":[{"url":"https://lists.apache.org/thread/wjs177lbrzpslkz8zvc31n07lgf7j0n1","tags":["vendor-advisory"]}],"metrics":[{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","subIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NEGLIGIBLE","Automatable":"NO","Recovery":"NOT_DEFINED","valueDensity":"DIFFUSE","vulnerabilityResponseEffort":"LOW","providerUrgency":"GREEN","version":"4.0","baseSeverity":"LOW","baseScore":2.1,"vectorString":"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"}}],"credits":[{"lang":"en","value":"The ASF LLM-based security scan","type":"finder"},{"lang":"en","value":"Lenny Primak <lenny@flowlogix.com>","type":"remediation developer"}],"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/11/14/2"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2026-11-16T14:19:41.584Z"}},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-16T20:22:00.481430Z","id":"CVE-2026-129320","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-16T20:38:44.224Z"}}]}}