encyclopegia.org

OGNL

Object-Graph Navigation Language (OGNL) was an open-source Expression Language (EL) for Java, which, while using simpler expressions than the full range of those supported by the Java language, allows getting and setting properties (through defined setProperty and getProperty methods, found in JavaBeans), and execution of methods of Java classes.[src] It also allows for simpler array manipulation.[src] It is aimed to be used in Java EE applications with taglibs as expression language.[src] OGNL was created by Luke Blanshard and Drew Davidson of OGNL Technology.[src] OGNL development was continued by OpenSymphony, which closed in 2011.[src] After that, OGNL was developed as a part of the Apache Commons.[src] The project is now dormant.[src]

Object-Graph Navigation Language (OGNL) was an open-source Expression Language (EL) for Java, which, while using simpler expressions than the full range of those supported by the Java language, allows getting and setting properties (through defined setProperty and getProperty methods, found in JavaBeans), and execution of methods of Java classes.[src] It also allows for simpler array manipulation.[src] It is aimed to be used in Java EE applications with taglibs as expression language.[src] OGNL was created by Luke Blanshard and Drew Davidson of OGNL Technology.[src] OGNL development was continued by OpenSymphony, which closed in 2011.[src] After that, OGNL was developed as a part of the Apache Commons.[src] The project is now dormant.[src] ==Technology== OGNL began as a way to map associations between front-end components and back-end objects using property names.[src] As these associations gathered more features, Drew Davidson created Key-Value Coding language (KVCL).[src] Luke Blanshard then reimplemented KVCL using ANTLR and started using the name OGNL.[src] The technology was again reimplemented using the Java Compiler Compiler (JavaCC).[src] OGNL uses Java reflection and introspection to address the Object Graph of the runtime application.[src] This allows the program to change behavior based on the state of the object graph instead of relying on compile time settings.[src] It also allows changes to the object graph.[src] ==Projects using OGNL== WebWork and its successor Struts2 Tapestry (4 and earlier) Spring Web Flow Apache Click MyBatis - SQL mapper framework The Thymeleaf - A Java XML/XHTML/HTML5 template engine FreeMarker - A Java template engine ==Security issues== Due to its ability to create or change executable code, OGNL is capable of introducing critical security flaws to any framework that uses it.[src] Multiple Apache Struts 2 versions have been vulnerable to OGNL security flaws.[src] As of October 2017, the recommended version of Struts 2 is 2.5.13.[src] Users are urged to upgrade to the latest version, as older revisions have documented security vulnerabilities — for example, Struts 2 versions 2.3.5 through 2.3.31, and 2.5 through 2.5.10, allow remote attackers to execute arbitrary code.[src] Atlassian Confluence has repeatedly been affected by OGNL security issues that allowed arbitrary remote code execution, and required all users to update.[src] ==See also== MVEL ==External links== OGNL 3.x maintenance branch OGNL 4.x Homepage (Apache) Apache Struts CVE-2013-2134 OGNL Expression Injection Vulnerability ==References==[src]

27 sentences · 27 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"OGNL." encyclopegia.org, 2026, https://encyclopegia.org/wiki/ognl. Accessed 28 November 2026.

Chicago

"OGNL." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/ognl.

APA

encyclopegia.org. (2026). OGNL. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/ognl

Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1375704523 · 0.5 · snapshot enwiki-001375704523

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.