@@ -9,21 +9,16 @@ has no runtime dependencies; optional JSP and Jakarta adapters provide view-laye
99bindings. Encoding is one part of [ XSS prevention] [ xss ] , alongside
1010safe templates, URL validation and other application controls.
1111
12- ** Upgrade all Java Encoder artifacts to 1.4.1. Versions through 1.4.0 are affected
13- by the [ security issues fixed in 1.4.1] ( releases/1.4.1.md#security-fixes ) .**
14- Version 1.4.1 is available from [ Maven Central] ( https://repo.maven.apache.org/maven2/org/owasp/encoder/ )
15- and the signed [ GitHub release] [ release ] . All published artifacts and signatures
16- [ match the retained release] ( releases/1.4.1-central-publication.md ) . See
17- [ VERIFYING.md] ( VERIFYING.md ) for verification instructions.
18-
19- ` main ` is ** unreleased 1.5.0-SNAPSHOT** . Its JSON API, JavaScript template support,
20- XML 1.1 tag bindings, and parser-boundary fixes are described below with version
21- labels; they are not features of the signed 1.4.1 release. See
22- [ CHANGELOG.md] ( CHANGELOG.md ) .
12+ ** Release preparation:** version 1.5.0 fixes parser-boundary vulnerabilities in
13+ JavaScript-in-HTML, CDATA, and XML-comment fragment composition. Versions through
14+ 1.4.1 do not contain those fixes. The signed 1.5.0 artifacts are not available
15+ until the maintainers complete the release gates and update this notice with the
16+ verified GitHub and Maven Central links. See the [ 1.5.0 release notes] ( releases/1.5.0.md )
17+ and [ VERIFYING.md] ( VERIFYING.md ) .
2318
2419## Start using the OWASP Java Encoders
2520
26- Select the dependency you need; Maven resolves version 1.4.1 from Central .
21+ After 1.5.0 publication is independently verified, select the dependency you need .
2722The three supported artifacts use group ID ` org.owasp.encoder ` :
2823
2924| Artifact ID | Purpose and runtime dependencies |
@@ -36,16 +31,16 @@ The three supported artifacts use group ID `org.owasp.encoder`:
3631<dependency >
3732 <groupId >org.owasp.encoder</groupId >
3833 <artifactId >encoder</artifactId >
39- <version >1.4.1 </version >
34+ <version >1.5.0 </version >
4035</dependency >
4136```
4237
4338Replace ` encoder ` with one tag adapter artifact ID when needed; each adapter brings
4439in core. Keep separately managed core/adapter versions aligned. Use ** one** of the
4540javax or Jakarta taglib JARs: they share ` org.owasp.encoder.tag ` and must not coexist
4641on the same classpath or module path. See the [ runtime matrix] ( compatibility/README.md ) and
47- [ dependency/license inventory] ( docs/dependencies.md ) . Development snapshots are
48- not security releases or a substitute for the signed 1.4.1 artifacts .
42+ [ dependency/license inventory] ( docs/dependencies.md ) . Do not use the example version
43+ until its signed artifacts and Central availability have been verified .
4944
5045` encoder-esapi ` was retired after 1.4.1 and will not be published or supported in
51461.5.0. Applications using it must [ migrate away from the adapter] ( docs/encoder-esapi-retirement.md ) .
@@ -111,7 +106,7 @@ Java source generation is not a JSP context. XML 1.1 bindings are new in 1.5.
111106
112107## Migrating from forUri
113108
114- ` Encode.forUri ` is deprecated in the released API. ** Unreleased 1.5** extends
109+ ` Encode.forUri ` is deprecated in the released API. Version 1.5.0 extends
115110that deprecation to ` Encoders.URI ` , both ` ForUriTag ` classes and the ` forUri `
116111tag/function documentation. All of these entry points are retained through 1.x. Encoding a whole URI does not validate it:
117112` forUri("javascript:alert(1)") ` returns it unchanged. Existing ` % ` signs are encoded
@@ -173,4 +168,4 @@ links distinguish maintainer support from OWASP Foundation donations.
173168[ xss ] : https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html
174169[ java-libraries ] : https://devguide.owasp.org/en/05-implementation/03-secure-libraries/04-java-secure-libs/
175170[ project ] : https://owasp.org/projects/java-encoder
176- [ release ] : https://github.com/OWASP/owasp-java-encoder/releases/tag/v1.4.1
171+ [ release ] : https://github.com/OWASP/owasp-java-encoder/releases/tag/v1.5.0
0 commit comments