Skip to content

JSON Sanitizer 1.3.0

Latest

Choose a tag to compare

@jmanico jmanico released this 07 Nov 21:33
· 6 commits to master since this release
89fab41

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.mikesamuel groupId 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 change requires json.sanitizer; to requires com.google.json;.
  • EvalMinifier remains available but is deprecated; use JsonSanitizer output with JSON.parse for 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.