Vulnerability GHSA-vp6r-9m58-5xv8

High Risk
HIGH RISK
CVSS Score: 8.1
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
6 months ago
April 16, 2026 at 09:31 PM UTC
OmniFaces: EL injection via crafted resource name in wildcard CDN mapping
1.1 - 1.14.1 and 2.0-RC1 - 2.7.31 and 3.0-RC1 - 3.14.15 and 4.0-M1 - 4.7.4 and 5.0-M1 - 5.2.2
1.1 - 1.14.1 and 2.0-RC1 - 2.7.31 and 3.0-RC1 - 3.14.15 and 4.0-M1 - 4.7.4 and 5.0-M1 - 5.2.2

Summary

OmniFaces: EL injection via crafted resource name in wildcard CDN mapping

Details

Impact

Server-side EL injection leading to Remote Code Execution (RCE). Affects applications that use CDNResourceHandler with a wildcard CDN mapping (e.g. libraryName:*=https://cdn.example.com/*). An attacker can craft a resource request URL containing an EL expression in the resource name, which is evaluated server-side.

The severity depends on the EL implementation and the objects available in the EL context. In the worst case this leads to Remote Code Execution (RCE). At minimum it allows information disclosure and denial of service.

Applications using CDNResourceHandler without wildcard mappings (i.e. only explicit resource-to-URL mappings) are not affected.

Patches

Fixed in versions 5.2.3, 4.7.5, 3.14.16, 2.7.32, and 1.14.2. Users should upgrade to the appropriate version for their branch.

Workarounds

Replace wildcard CDN mappings with explicit resource-to-URL mappings. For example, replace:

libraryName:*=https://cdn.example.com/*

with individual entries:

libraryName:resource1.js=https://cdn.example.com/resource1.js,
libraryName:resource2.js=https://cdn.example.com/resource2.js

Impacted packages

Timeline

Published
6 months ago
April 16, 2026 at 09:31 PM UTC
Fixed (1.14.2)
Unknown
Unknown
Fixed (2.7.32)
Unknown
Unknown
Fixed (3.14.16)
Unknown
Unknown
Fixed (4.7.5)
Unknown
Unknown
Fixed (5.2.3)
Unknown
Unknown
Last Modified
5 months ago
May 13, 2026 at 01:54 PM UTC