Repository navigation
JSON Sanitizer 1.3.0 is the first modernized release under the verified OWASP project namespace.
<dependency>
<groupId>org.owasp.json-sanitizer</groupId>
<artifactId>json-sanitizer</artifactId>
<version>1.3.0</version>
</dependency>Migration:
- Change the old
com.mikesamuelgroupId manually. The old-coordinate relocation POM is not published. - Java 8 or newer is required (previously Java 6).
- Java imports remain
com.google.json. Module-path users must changerequires json.sanitizer;torequires com.google.json;. EvalMinifierremains available but is deprecated; useJsonSanitizeroutput withJSON.parsefor new code.
This release adds immutable CharSequence results, bounded Reader and UTF-8 stream overloads, and fixes denial-of-service and malformed-input cases described in the changelog. Public API signature comparison found no removed signatures versus 1.2.3.
Validation included Java 8/11/17/21/25 CI, OSS-Fuzz build compatibility, a 567,123-input compatibility corpus, 1,701,369 independent input/depth property checks, and a strengthened Jazzer run of 551,998 executions. Independent model reviews identified documentation corrections and a fuzz-oracle improvement that were addressed before tagging. AI assistance was used in preparation and review.