GHSA-969f-mppv-qv32
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInfluence an untrusted principal value
-
ExploitStore script payload in principal field
-
ExecutionVictim loads page using shiro:principal tag
-
ImpactUnescaped output executes script in victim browser
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the application actually uses the shiro:principal tag to render output - in shiro-web this is the Jakarta Pages (JSP) tag, in shiro-jakarta-ee the Jakarta Faces (JSF) tag - on an affected version (shiro-web before 3.0.2, or shiro-jakarta-ee 2.0.0-alpha-0 up to before 3.0.2; i.e. all releases through 3.0.1). It further requires that the principal value be not fully trusted, meaning an attacker must be able to place script content into the principal (CVSS PR:L reflects the authenticated/principal context). Limiting factors that reduce real-world risk: the vulnerable tag must be present in the page templates, the principal value must be attacker-influenced rather than a trusted system-assigned value, and a victim must load the rendered page (CVSS UI:P / user interaction). Applications that do not use the principal tag, or that already validate principal values on input, are not exposed. |
| Impact | All signals point to a low-priority issue. The only supplied severity metric is the vendor's CVSS 4.0 base score of 2.1 (low), vector CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P with impact confined to the subsequent system (SC:L/SI:L) and no impact on the vulnerable system itself (VC:N/VI:N/VA:N) - the expected profile of a cross-site scripting flaw. Exploitation is network-reachable but gated by three independent factors in the vector: PR:L (a low-privileged/authenticated principal context), UI:P (a victim must load the affected page), and AT:P (a specific attack requirement is present). There is no CISA KEV listing, no public exploit or PoC reference in the input, and no EPSS probability was supplied, so exploitation likelihood cannot be quantified from data - the vuln.today Decision label is explicitly 'awaiting_data', consistent with an advisory published only days ago (fix 3.0.2 released 2026-11-08). This is a genuine but low-urgency defect: the attacker gains script execution only in a victim's browser, only in applications that actually use the shiro:principal tag, and only when the principal value is attacker-influenced. No conflicting signals are present, but note the absence of EPSS and the 'awaiting_data' status mean the real-world exploitation estimate is currently unverifiable rather than confirmed-low. |
| Exploit ScenarioDerived | In an application that renders an authenticated user's principal (e.g. a username) via the shiro:principal tag on a Jakarta Pages (JSP) or Jakarta Faces page, an attacker who can influence that principal value sets it to an HTML/JavaScript payload. When another user loads a page that echoes the unescaped principal, the script executes in that victim's browser session. No public exploit code or PoC reference is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 14, 2026
The shiro:principal output tags shipped in Apache Shiro's web modules render the current principal without escaping, so script content placed in a principal can execute in a victim's browser when the generated page is loaded (cross-site scripting). Exposure is limited to applications that actually use the shiro:principal tag - the Jakarta Pages (JSP) tag in shiro-web before 3.0.2, or the Jakarta Faces (JSF) component in shiro-jakarta-ee 2.0.0-alpha-0 through 3.0.1 - and that let an attacker influence the principal value; the provider's CVSS 4.0 score is 2.1 (low) and our assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, reflecting an authenticated principal context plus required victim interaction. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the scoring/decision signals in the available data (priority label awaiting_data, no KEV or EPSS input) point to a low-priority issue. Version 3.0.2 escapes the tag output and is the vendor-recommended fix.
RemediationAI
Upgrade to Apache Shiro 3.0.2 or later, which escapes the principal tag output; this is the vendor's stated complete fix for both org.apache.shiro:shiro-web and org.apache.shiro:shiro-jakarta-ee, and any 3.0.1 or earlier dependency - including the 2.2.x line for shiro-web and the 2.0.0-alpha-0-and-later shiro-jakarta-ee line - should be moved to 3.0.2. Verify the resolved artifact version in the build (dependency tree or BOM) rather than only bumping a parent, since the affected code lives in the web and Jakarta EE modules rather than in shiro-core. The vendor-described alternative, for teams that cannot upgrade immediately, is to validate principal values on input so that markup cannot reach the tag; the trade-off is that this constrains what characters are permitted in usernames/attributes and must be applied consistently at every point where a principal is populated, and it leaves the unescaped render path in place for any value that slips through. Removing usage of the shiro:principal tag from page templates, or replacing it with an explicitly escaped expression, also eliminates the exposure but requires auditing every JSP and JSF view. Details are in the upstream advisory at https://seclists.org/oss-sec/2026/q4/699 and the project site https://shiro.apache.org/.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Shiro is a Java security framework providing authentication, authorization, cryptography and session management, with web integration modules for servlet/Jakarta EE environments. Two distinct rendering paths are affected: shiro-web supplies a Jakarta Pages (JSP) tag library where the shiro:principal tag writes the principal value into the page, and shiro-jakarta-ee supplies a Jakarta Faces (JSF) component that does the same inside a JSF view. In both cases the tag emitted the principal without output escaping, which places the defect in the output-encoding / cross-site-scripting class; the upstream record supplies no CWE identifier (CWE is listed as N/A), so the classification is inferred from the described behavior rather than from a stated weakness ID. The mechanism is a rendering-time omission, not an authentication or authorization bypass: Shiro still resolves the principal as usual, but the value is written into HTML without encoding, so markup present in that value is interpreted by the browser. Because the value is the authenticated principal, the practical precondition is that the principal string itself can carry attacker-controlled characters - for example a username, display name or other attribute sourced from an identity store or directory that the attacker can populate - and that a victim then loads a page containing the vulnerable tag. Deployments that never reference the principal tag, or that already validate principal values on input, are outside the vulnerable pattern per the vendor note. No CPE identifiers were supplied with the record, so affected components must be identified by Maven coordinates: org.apache.shiro:shiro-web and org.apache.shiro:shiro-jakarta-ee.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Reflected/stored XSS reachable over the network but requiring an attacker-influenced principal (PR:L) and a victim page load (UI:R); script runs in the browser's separate authority (S:C) with low C/I and no availability impact.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-126380
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB