EL Injection Vulnerability in Mojarra

mojarra Updated 02 Oct 2025

Summary

06/12/2011
N/A
Yes i
Unrated
Not published

DSA-2359-1: mojarra - EL injection. Affects mojarra versions < 2.0.3-1+squeeze1. Fixed in 2.0.3-1+squeeze1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Mojarra is an implementation of JavaServer Faces (JSF), a Java specification for building web applications. It provides a framework for managing user interfaces and handling user input. Mojarra is widely used in Java web development and is included in various Java EE application servers. However, a vulnerability has been discovered in Mojarra that allows for Expression Language (EL) injection.

Vulnerability Detail

The vulnerability in Mojarra arises when the 'includeViewParameters' setting is enabled. In this case, untrusted values are evaluated as EL expressions, which can lead to arbitrary code execution. An attacker can exploit this vulnerability by injecting malicious EL expressions into user input fields or URLs. The consequences of successful exploitation include unauthorized access to sensitive data, remote code execution, and potential compromise of the entire application.

How To Fix

Minimum fixed version

2.0.3-1+squeeze1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade mojarra

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading the Mojarra package is not immediately feasible, a temporary workaround is to disable the 'includeViewParameters' setting. This can be done by modifying the application's configuration files or code to set 'includeViewParameters' to false. However, this workaround may impact certain functionality that relies on view parameters.

Conclusion

The Mojarra package is vulnerable to an EL injection vulnerability that can lead to arbitrary code execution and compromise of the application. It is crucial to upgrade to the latest version of the package or apply the provided workaround to mitigate the risk. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for mojarra →

Share this vulnerability

FAQ

Mojarra is an implementation of JavaServer Faces (JSF), a Java specification for building web applications. It provides a framework for managing user interfaces and handling user input.

EL injection is a vulnerability that occurs when untrusted data is evaluated as Expression Language (EL) expressions. This can lead to arbitrary code execution and potential compromise of the application.

The Mojarra vulnerability can be exploited by injecting malicious EL expressions into user input fields or URLs. This allows an attacker to execute arbitrary code and potentially gain unauthorized access to sensitive data.

Successful exploitation of the Mojarra vulnerability can result in unauthorized access to sensitive data, remote code execution, and potential compromise of the entire application.

To fix the Mojarra vulnerability, it is recommended to upgrade the Mojarra package to version 2.0.3-1+squeeze1 or later. This update includes a patch that prevents untrusted values from being evaluated as EL expressions.

Related vulnerabilities

Recent vulnerabilities recorded for mojarra.

How To Fix

Minimum fixed version

2.0.3-1+squeeze1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade mojarra

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.