Registry / utility / ognl
library3.4.11javamavenunverified

OGNL - Core module of Object Graph Navigation Library, a powerful expression language for Java objects.

<dependency> <groupId>ognl</groupId> <artifactId>ognl</artifactId> <version>3.4.11</version> </dependency>
INSTALL
IMPORT
SIG · OGNL
O
ognl
utilityjavav3.4.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ognl
ognl.Ognl

Evaluates an OGNL expression on an object.

import ognl.Ognl; import ognl.OgnlException; public class OgnlExample { public static void main(String[] args) throws OgnlException { Object value = Ognl.getValue("name", new Object()); System.out.println("Value: " + value); } }
Debug
Known issues
breakingOGNL can execute arbitrary code if expressions are not sanitized.
fix
Avoid evaluating untrusted OGNL expressions; use a whitelist approach.
affects: *
Upgrade
Version history
3.4.11latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ognl — mvn dependency:get ognl · libregistry