Main How to Use Numbers Grave Accent Template Literals Deploy News OWASP Java Encoder About The OWASP Java Encoder is a Java 1.5+ simple-to-use drop-in high-performance encoder class with no dependencies and little baggage. This project will help Java web developers defend against Cross Site Scripting! Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts (primarily JavaScript) are injected into otherwise trusted web sites. One of the primary defenses to stop Cross Site Scripting is a technique called Contextual Output Encoding. WARNING: Please note that XSS prevention requires other defensive strategies besides encoding! For more information, please read the Cross Site Scripting prevention cheatsheet. We actively track project issues and seek to remediate any issues that arise. The project owners feel this project is stable and ready for production use and are seeking project status promotion. Happy Encoding! Getting Started The OWASP Java Encoder library is intended for quick contextual encoding with very little overhead, either in performance or usage. To get started, simply add the encoder-1.2.3.jar, import org.owasp.encoder.Encode and start encoding. Please look at the javadoc for Encode, to see the variety of contexts for which you can encode. Tag libraries and JSP EL functions can be found in the encoder-jsp-1.2.3.jar. Licensing The OWASP Java Encoder is free to use under the New BSD License. GitHub Extensive documentation on how to use this project can be found in our GitHub repository. ![[./resources/owasp-java-encoder-owasp-foundation.resources/svg_1.svg]]Edit on GitHub The OWASP® Foundation works to improve the security of software through its community-led open source software projects, hundreds of chapters worldwide, tens of thousands of members, and by hosting local and global conferences. Code Repository GitHub Downloads encoder-1.2.3.jar encoder-jsp-1.2.3.jar Leaders Jim Manico Jeff Ichnowski Upcoming OWASP Global Events September 13-14, 2022 (BST) October 11-12, 2022 Australian Western Standard Time (AWST) November 14-18, 2022 Pacific Standard Time (PST) December 5-6, 2022 Eastern Standard Time (EST) December 12-13, 2022 Eastern Standard Time (EST) February 13-16, 2023