Skip to content

Bump org.owasp.encoder:encoder from 1.5.1 to 1.6.0 in /symja_android_library - #1567

Merged
axkr merged 1 commit into
masterfrom
dependabot/maven/symja_android_library/org.owasp.encoder-encoder-1.6.0
Oct 22, 2026
Merged

axkr merged 1 commit into
masterfrom
dependabot/maven/symja_android_library/org.owasp.encoder-encoder-1.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 22, 2026

Copy link
Copy Markdown
Contributor

Bumps org.owasp.encoder:encoder from 1.5.1 to 1.6.0.

Release notes

Sourced from org.owasp.encoder:encoder's releases.

OWASP Java Encoder 1.6.0

OWASP Java Encoder 1.6.0 reduces unnecessary JavaScript letter escaping while retaining recognized HTML-token protection across trusted fragments. It resolves #243 through #247. This is a minor release because emitted bytes and streaming behavior change.

Changes and migration

  • forJavaScript and forJavaScriptBlock keep interior script-name letters readable. A final C, I, P, R, S, or T in either case still receives an escape. Punctuation and whitespace escapes remain.
  • http://google.com now produces http:\/\/google.com; script becomes scrip\x74; i remains \x69. The rule is conservative: cat becomes ca\x74.
  • HTML does not remove whitespace inside tag names. Escaping < in a complete value addresses the HTML tag delimiter concern, but a fragment may have its < supplied by trusted text. The terminal escape preserves that supported protection.
  • General/block EncodedWriter callers must flush before writing directly to the wrapped writer. Explicit flushes safely emit pending letters/surrogates and can add escapes while preserving the JavaScript UTF-16 value. Low-level callers must retain unread input after UNDERFLOW and supply more input or mark end-of-input.
  • Review snapshots, signatures and cache keys that depend on encoded bytes. Source and attribute-only methods are unchanged.

Public APIs, Java 8 support, runtime dependencies and module/bundle identities are unchanged. No new encoder security fix is introduced. The 1.5.0 protections remain; users of older versions should follow the security advisory. See the migration record.

Maven Central

Version 1.6.0 is published under org.owasp.encoder:

Keep core and adapter versions aligned. Do not combine javax and Jakarta adapters. The retired ESAPI adapter and optional test WAR are not included. Javadoc JARs are attached; hosted javadoc.io indexing can lag publication.

Verification

Exact tested source: d9b0fd62497fb9276429a9ea972f4449ab320f2d; signed tag: v1.6.0.

All 26 downloaded Central payload/signature files matched the retained originals byte for byte. All 13 payload signatures and both checksum-manifest signatures verify with project fingerprint 1C5F632B86809F2F5DB25092BEA0075F94074A9B. Attached bundle SHA-256: 8d860714634ae3b53f19bb3ea326f639b74df96c0e82bc956d53f237b5804c16.

The clean unsigned and signed builds, Docker/browser/WAR gate, packaged Java 17 consumers and repository checks passed. All thirteen unsigned payloads match two independent clean builds using Temurin 17.0.20.1+1 and Maven 3.10.0. Required CI passed, including Java 8/11/17/21/25 consumers, Java 8 tests and Java/Actions/Python CodeQL. Model-assisted review followed MODELS.md; no Daybreak review was completed before release. The documented maintainer review bypass was authorized; required CI/security checks were not bypassed.

Correction — 2026-10-18: The original review record described Daybreak access as unavailable, but the explicit picker-route probe had not been attempted. A subsequent probe succeeded, as recorded in [PR #251](OWASP/owasp-java-encoder#251). This establishes later access, not a pre-release review. The release tag and signed artifacts retain their original bytes.

Verify the attached signatures and signed checksum manifests with KEYS, SHA256SUMS, SHA512SUMS and VERIFYING.md. The immutable source retains preparation-stage notices; this release confirms publication without changing those sources or signatures.

Changelog

Sourced from org.owasp.encoder:encoder's changelog.

1.6.0 — 2026-10-18 UTC

Publication is verified; see the release record.

  • Reduce unnecessary script-letter escaping in forJavaScript and forJavaScriptBlock (#243). Interior letters remain readable; the input's last character is escaped if it is C, I, P, R, S, or T (either case). Existing punctuation escapes and protection against recognized HTML tokens across trusted-text boundaries are preserved. Encoded bytes change, while JavaScript string values do not. Streaming encoders may retain one trailing letter; EncodedWriter.flush() safely emits it as a hex escape and any pending high surrogate as a Unicode escape. Explicit flushes can add safe escapes while preserving UTF-16 values. Direct Encoder.encode callers must retain unread input after underflow and supply more input or mark end-of-input, including for a pending ASCII letter.
Commits
  • d9b0fd6 release: prepare Java Encoder 1.6.0
  • 300ef20 Merge pull request #247 from OWASP/fix/issue-243-script-letter-escaping
  • da8b7a0 Merge remote-tracking branch 'origin/main' into fix/issue-243-script-letter-e...
  • 2c5bf4b Clarify issue 243 fragment protection and unreleased usage
  • caa8aa4 Merge pull request #248 from OWASP/docs/model-review-workflow
  • 9ea2823 Make model review guidance first-party project instructions
  • 00d0eb2 Document model-assisted Java Encoder review workflow
  • a596740 Reduce interior JavaScript letter escaping while preserving boundary safety
  • 1d0e9f2 Merge pull request #246 from OWASP/release/1.5.1-published
  • 5ce32da Record verified 1.5.1 publication and resume 1.5.2 development
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.owasp.encoder:encoder](https://github.com/OWASP/owasp-java-encoder) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/OWASP/owasp-java-encoder/releases)
- [Changelog](https://github.com/OWASP/owasp-java-encoder/blob/main/CHANGELOG.md)
- [Commits](OWASP/owasp-java-encoder@v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: org.owasp.encoder:encoder
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Oct 22, 2026
@axkr
axkr merged commit 0442611 into master Oct 22, 2026
3 of 4 checks passed
@dependabot
dependabot Bot deleted the dependabot/maven/symja_android_library/org.owasp.encoder-encoder-1.6.0 branch October 22, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant