{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.shiro:shiro-jakarta-ee and org.apache.shiro:shiro-web.","exploited":"There is no known exploitation of CVE-2026-129320 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.","fix":"Upgrade org.apache.shiro:shiro-jakarta-ee to 3.0.2 or later.","what":"CVE-2026-129320 is a low-severity cross-site scripting vulnerability in Apache Shiro, published on 16 Nov 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-129320 and fix it if it is affected.\n\nWhat it is: CVE-2026-129320 is a low-severity cross-site scripting vulnerability in Apache Shiro, published on 16 Nov 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-129320 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- org.apache.shiro:shiro-jakarta-ee (Maven): affected from 2.0.0-alpha-0; fixed in 3.0.2\n- org.apache.shiro:shiro-web (Maven): affected all versions; fixed in 3.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-129320/ (Markdown: https://insights.sbomify.com/CVE-2026-129320/index.md)","id":"CVE-2026-129320","markdown":"https://insights.sbomify.com/CVE-2026-129320/index.md","name":"CVE-2026-129320","record":{"aliases":["DEBIAN-CVE-2026-129320","GHSA-969f-mppv-qv32","UBUNTU-CVE-2026-129320"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":true,"product_category":"Java security framework","requires_auth":"low_privilege","requires_specific_call":true,"summary":"Untrusted principal values passed to Shiro's principal tag can inject scripts into pages; Java apps using Shiro principal tags should care.","user_interaction":"required","vuln_class":"xss","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"apache","cpe":[],"cvss":{"score":2.1,"severity":"low","source":"cna","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"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Apache Shiro: Principal tags in Jakarta Pages and Jakarta Faces do not escape output, allowing cross-site scripting","id":"CVE-2026-129320","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":1,"n_vendor_status":0,"next":{"headline":"Insufficient Granularity of Access Control in GitLab","id":"CVE-2026-129321"},"nickname":null,"packages":[{"ecosystem":"Maven","fixed":["3.0.2"],"introduced":["2.0.0-alpha-0"],"last_affected":[],"name_kind":null,"package":"org.apache.shiro:shiro-jakarta-ee","purl":"pkg:maven/org.apache.shiro/shiro-jakarta-ee","purl_source":"cna","scope":"upstream","source":"CVE-2026-129320"},{"ecosystem":"Maven","fixed":["3.0.2"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"org.apache.shiro:shiro-web","purl":"pkg:maven/org.apache.shiro/shiro-web","purl_source":"cna","scope":"upstream","source":"CVE-2026-129320"}],"prev":{"headline":"create-ecdh: computeSecret does not validate that the peer public key is on the curve (invalid-curve attack)","id":"CVE-2026-129319"},"products":["Apache Shiro"],"published":"2026-11-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-11-16","vendor_status":[],"vendors":["Apache Software Foundation"]},"summary":"Untrusted principal values passed to Shiro's principal tag can inject scripts into pages; Java apps using Shiro principal tags should care.","url":"https://insights.sbomify.com/CVE-2026-129320/"}