This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit

Category:OWASP Encoding Project

Jump to: navigation, search

OWASP Inactive Banner.jpg



Web applications face any number of threats; one of them is cross-site scripting and related injection attacks. 90% of all web applications contain cross-site scripting vulnerabilities because they are easy to introduce, and the proper tools are not always available to prevent them. The Reform library provides a solid set of functions for encoding output for the most common context targets in web applications (e.g. HTML, XML, JavaScript, etc). The library also takes a conservative view of what are allowable characters based on historical vulnerabilities, and current injection techniques.


  • Provide tools needed by developers to mitigate canonicalization issues in web technologies.
  • Provide a solution that will not need to be patched (no security patches since release in 2004, private implementations in use since 2002).

Download (stable)

The latest code is now being maintained in a Google Code repository at


  • Unicode support
  • Context specific functions (HTML, XML, JavaScript, etc)
  • Many supported languages
    • Java
    • .NET v1/v2
    • PHP
    • Python
    • Perl
    • JavaScript
    • ASP
  • Support for AJAX
  • Conservative approach
  • Solves all current XSS techniques
  • Full xUnit style test cases

Future Development

  • Ruby support
  • Java framework support
  • LDAP encoding functions
  • Add documentation on resolving XPath issues


OWASP Encoding Project Adopts Reform - 10:01, 8 November 2006 (EST)

OWASP is adopting the Reform Encoding Library as an OWASP project. We are currently in the process of moving over the source, downloads, and documentation.

OWASP Encoding Project Created! - 10:01, 8 November 2006 (EST)

The Open Web Application Security Project is proud to announce the OWASP Encoding Project!

Feedback and Participation:

We hope you find the OWASP Encoding Project useful. Please contribute to the Project by volunteering for one of the tasks, sending your comments, questions, and suggestions to [email protected] To join the OWASP Encoding Project mailing list or view the archives, please visit the subscription page.

Project Contributors

Michael Eddington

Project Sponsor

Leviathan Security Group, Inc.

Project Details

What does this OWASP project offer you?
what is this project?
OWASP Encoding Project

Purpose: N/A

License: N/A

who is working on this project?
Project Leader: N/A

Project Maintainer: Michael Eddington @

Project Contributor(s): N/A

how can you learn more?
Project Pamphlet: N/A

3x slide Project Presentation: N/A

Mailing list: N/A

Project Roadmap: N/A

Main links: N/A

Project Health: Yellow button.JPG Not Reviewed (Provisional)
To be reviewed under Assessment Criteria v2.0

Key Contacts
  • Contact the GPC to contribute, review or sponsor this project
  • Contact the GPC to report a problem or concern about this project or to update information.

This category currently contains no pages or media.