OmniFaces: EL injection via crafted resource name in wildcard CDN mapping
Package
Affected versions
< 1.14.2
>= 2.0-RC1, < 2.7.32
>= 3.0-RC1, < 3.14.16
>= 4.0-M1, < 4.7.5
>= 5.0-M1, < 5.2.2
Patched versions
1.14.2
2.7.32
3.14.16
4.7.5
5.2.3
Description
Published to the GitHub Advisory Database
Apr 16, 2026
Reviewed
Apr 16, 2026
Published by the National Vulnerability Database
May 8, 2026
Last updated
May 13, 2026
Impact
Server-side EL injection leading to Remote Code Execution (RCE). Affects applications that use
CDNResourceHandlerwith a wildcard CDN mapping (e.g.libraryName:*=https://cdn.example.com/*). An attacker can craft a resource requestURL 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
CDNResourceHandlerwithout 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:
with individual entries:
References