Project About
Project Info
PROJECT INFO What does this OWASP project offer you?
|
RELEASE(S) INFO What releases are available for this project?
|
| what
|
is this project?
|
| Name: OWASP Java HTML Sanitizer (home page)
|
Purpose:
- The OWASP Java HTML Sanitizer Project is a fast and easy to configure HTML Sanitizer written in Java which lets you include HTML authored by third-parties in your web application while protecting against XSS.
- This code was written with security best practices in mind and has an extensive test suite but it has not yet undergone an adversarial security review. Please treat it as alpha software.
- The existing dependencies are on guava and JSR 305. The JSR 305 dependency is a compile-only dependency, only needed for annotations. The other jars are only needed by the unittests.
- Provides 4X the speed of AntiSamy sanitization in DOM mode and 2X the speed of AntiSamy in SAX mode.
- Very easy to use. It allows for simple programmatic POSITIVE policy configuration (see below). No XML config.
- Actively maintained by Mike Samuel from Google's AppSec team!
- Passing 95+% of AntiSamy's unit tests plus many more.
- This is code from the Caja project that was donated by Google. It is rather high performance and low memory utilization.
- Java 1.5+
|
| License: New BSD License
|
| who
|
is working on this project?
|
| Project Leader(s):
|
| how
|
can you learn more?
|
| Project Pamphlet: Not Yet Created
|
| Project Presentation: Not Yet Created
|
| Mailing list: Mailing List Archives
|
| Project Roadmap: View
|
| Main links:
|
| Key Contacts
|
|
- Contact Mike Samuel @ to contribute to this project
- Contact Mike Samuel @ to review or sponsor this project
- Contact the GPC to report a problem or concern about this project or to update information.
|
|
|
Questions
- How was this project tested?
- This code was written with security best practices in mind and has an extensive test suite but it has not yet undergone an adversarial security review. Please treat it as alpha software.
- How is this project deployed?
A fast and easy to configure HTML Sanitizer written in Java which lets you include HTML authored by third-parties in your web application while protecting against XSS.
The code is hosted on Google Code. The attack review is ongoing so please consider it beta software.