{"schemaVersion":4,"id":"CVE-2026-129320","aliases":["DEBIAN-CVE-2026-129320","UBUNTU-CVE-2026-129320"],"status":"published","duplicateOf":null,"title":"Apache Shiro: Principal tags in Jakarta Pages and Jakarta Faces do not escape output, allowing cross-site scripting","description":"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.","dates":{"published":"2026-11-16T13:21:51.490Z","modified":"2026-11-16T20:38:44.224Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.1,"severity":"low","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.1,"severity":"low","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.1,"severity":"low","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/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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":2.1,"severity":"low","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/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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":2.1,"severity":"low","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","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00386,"percentile":0.34868,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-17T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00386,"percentile":0.34868}],"last30":[{"date":"2026-11-17T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00386,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00386,"percentile":0.34868}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"apache software foundation","product":"apache shiro","name":"Apache Shiro","label":"apache shiro","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.0.2","endInclusive":false}},{"text":"≥ 2.0.0-alpha-0, < 3.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.0.0-alpha-0","startInclusive":true,"end":"3.0.2","endInclusive":false}}],"versionsText":"< 3.0.2 | ≥ 2.0.0-alpha-0, < 3.0.2","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_shiro"},{"vendor":"debian","product":"shiro","name":"shiro","label":"shiro","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/shiro","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"shiro","name":"shiro","label":"shiro","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/shiro","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2026-129320","label":"security-tracker.debian.org/tracker/CVE-2026-129320","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://lists.apache.org/thread/wjs177lbrzpslkz8zvc31n07lgf7j0n1","label":"lists.apache.org/thread/wjs177lbrzpslkz8zvc31n07lgf7j0n1","hostname":"lists.apache.org","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/14/2","label":"www.openwall.com/lists/oss-security/2026/11/14/2","hostname":"www.openwall.com","tags":[]},{"url":"https://ubuntu.com/security/CVE-2026-129320","label":"ubuntu.com/security/CVE-2026-129320","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-129320","label":"www.cve.org/CVERecord?id=CVE-2026-129320","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2026/11/14/2","label":"www.openwall.com/lists/oss-security/2026/11/14/2","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://shiro.apache.org/security-reports.html#cve_2026_129320","label":"shiro.apache.org/security-reports.html","hostname":"shiro.apache.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-16T13:21:51.490Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-16T20:38:44.224Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 2.1, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,21],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00386,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-16T20:38:44.224Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.1,"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","version":"4.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-16T20:38:44.224Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.1,"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/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","version":"4.0"},{"type":"cvss","source":"osv_debian","date":"2026-11-16T20:38:44.224Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.1,"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/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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-16T20:38:44.224Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.1,"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","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-11-16T20:22:00.481Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00386,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:44:47.415Z","stale":false,"partial":false}}