Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/CI_SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ present.
Baseline-sensitive API, JSP-engine and build-plugin dependencies and the Maven
distribution used by the wrapper are
excluded from the broad Maven **version-update group**, so unsuppressed proposals
receive individual review. Reviewed incompatible minor and major proposal classes use
receive individual review. The Central publisher's HttpClient and HttpCore pins
have their own group so that they move together. Reviewed incompatible minor and major proposal classes use
`ignore.update-types`; GitHub applies those rules only to version updates, so
security updates remain eligible and the security-update group is unchanged.
Dependabot classifies repeated Maven coordinates from their lowest occurrence;
Expand Down
55 changes: 49 additions & 6 deletions .github/DEPENDENCY_DECISIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,48 @@ realms. The publisher realm was resolved, not executed, because there is no
publishing run that skips signing and Central credentials. The next signed
release rehearsal should confirm it before a release relies on it.

## Boot 4.2.0, Guava 33.8.0 and HttpCore — 2026-11-23

Grouped PR [#272](https://github.com/OWASP/owasp-java-encoder/pull/272)
proposed seven updates and passed CI. A separate change takes five of them,
keeps HttpCore and httpcore5-h2 on 5.4.4, and removes the OpenTelemetry
override that #272 left in place.

- Spring Boot **4.2.0** for the Jakarta fixture. It manages OpenTelemetry
1.68.0, so the fixture's `opentelemetry.version` 1.67.0 override is removed,
as planned above. #272 kept the override, which would have lowered Boot's
version. A policy test fails if it returns. Boot 4.2.0 still manages Tomcat
11.0.27 and now manages Selenium 4.51.0; the fixture stays on 4.49.0 with the
digest-pinned browser image, so that override is now below Boot's version.
- Guava **33.8.0-jre** in every pin from the 2026-11-16 entry.
[GHSA-v5x9-67m3-7m56](https://github.com/google/guava/security/advisories/GHSA-v5x9-67m3-7m56)
(low severity, hash flooding) affects Guava through 33.7.2 and is fixed in
33.8.0. So far it is published only as a Guava repository advisory, so no
Dependabot alert reports it. This raises the removal conditions in that
entry: drop a plugin-realm pin when the plugin's own graph reaches 33.8.0,
not 33.7.2, and Selenium 4.52.0, which depends on Guava 33.7.2, no longer
lets the fixture drop its dependency-management pin.
- plexus-archiver **4.16.0**, which upstream describes as binary compatible
with 4.15.0, Maven Help Plugin **3.6.0**, which now requires Maven 3.9.0 (this
build requires 3.9.16), and Versions Maven Plugin **2.25.2**.
- HttpCore and httpcore5-h2 stay on **5.4.4**. The publisher realm pins
HttpClient 5.6.5, which was built against HttpCore 5.4.4; HttpClient 5.7, the
line built on HttpCore 5.5, is still in beta. Boot 4.2.0's own Maven plugin
resolves the same 5.6.5 and 5.4.4 pair. No published advisory affects 5.4.4
(GHSA-hf6x-8p5f-cgmf and GHSA-v3jc-474w-2wm6 were fixed in 5.4.3). No CI job
runs the publisher, so #272's passing checks did not exercise this pairing.
The configuration now moves HttpClient and both HttpCore coordinates from the
broad group into their own `httpcomponents` group, so their patch releases
arrive together, and ignores HttpCore's minor and major version updates.
Patch and security updates remain eligible. A policy test keeps the two
HttpCore pins equal and on the line the HttpClient pin was built against.
When HttpClient 5.7 is released, its proposal arrives alone in that group
and fails the test by design. Then move the client and both HttpCore pins
together, confirm the publisher in a release rehearsal, and update the ignore
rules and the test with them. An advisory fixed only in HttpCore 5.5 forces
that review earlier: a security update is not subject to the ignore rules
and would fail the same test.

## Maven 3.10.1 wrapper — 2026-11-16

Accept the Maven **3.10.1** distribution proposed by Dependabot PR
Expand Down Expand Up @@ -245,13 +287,14 @@ record; a grouped PR closure is not proof that every proposed upgrade was applie

## Future Dependabot proposals

The [configuration](dependabot.yml) excludes twelve coordinates from the broad
The [configuration](dependabot.yml) excludes thirteen coordinates from the broad
Maven **version-update group**: the nine baseline-sensitive coordinates above,
the two Boot plugin-realm Jackson coordinates and the Maven distribution used by
the wrapper. For the eight of those coordinates with a rejected proposal in
#218–#227 and the two Jackson coordinates from #232, it also ignores only the
SemVer minor or major version-update classes covered by the decisions above. The
Maven wrapper has no ignore rule. The two Tomcat engine coordinates, the other
the publisher realm's HttpClient and two HttpCore coordinates, which share the
`httpcomponents` group, and the Maven distribution used by the wrapper. For the
eight of those coordinates with a rejected proposal in #218–#227 and the two
HttpCore coordinates from #272, it also ignores only the SemVer minor or major
version-update classes covered by the decisions above. The Maven wrapper and
HttpClient have no ignore rule. The two Tomcat engine coordinates, the other
rejected proposals in that range, have their own entries described below.
This prevents the weekly job from recreating proposals that merely replace
historical comparators, minimum-consumer fixtures, coherent servlet-engine
Expand Down
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,22 @@ updates:
- jakarta.el:jakarta.el-api
# The wrapper's Maven version is a separately reviewed toolchain change.
- org.apache.maven:apache-maven
# The publisher realm's HTTP stack moves together; see httpcomponents.
- org.apache.httpcomponents.client5:httpclient5
- org.apache.httpcomponents.core5:httpcore5
- org.apache.httpcomponents.core5:httpcore5-h2
maven-security:
applies-to: security-updates
patterns: ['*']
# The Central publisher pins HttpClient with the HttpCore line it was
# built against. One pull request keeps the two HttpCore pins equal and
# keeps an HttpClient line change out of the broad group.
httpcomponents:
applies-to: version-updates
patterns:
- org.apache.httpcomponents.client5:httpclient5
- org.apache.httpcomponents.core5:httpcore5
- org.apache.httpcomponents.core5:httpcore5-h2
# Suppress only the routine SemVer update classes already rejected by the
# documented compatibility review. GitHub applies update-types only to
# version updates, so security updates remain eligible. Dependabot combines
Expand Down Expand Up @@ -77,6 +90,16 @@ updates:
update-types:
- version-update:semver-minor
- version-update:semver-major
# The Central publisher's HttpClient 5.6 pin was built against HttpCore
# 5.4, and no CI job runs that realm. Move both together by hand.
- dependency-name: org.apache.httpcomponents.core5:httpcore5
update-types:
- version-update:semver-minor
- version-update:semver-major
- dependency-name: org.apache.httpcomponents.core5:httpcore5-h2
update-types:
- version-update:semver-minor
- version-update:semver-major
# The JSP engine fixtures pin Tomcat 9.0 in jsp/ and 10.1 in jakarta/
# under the same coordinates. This scan would combine them from 9.0 and
# write that line's release into both modules, so the /jsp and /jakarta
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ unchanged. [1.6.0 is available from Central](releases/1.6.0-central-publication.
exceeds. Refresh Maven build plugins, plexus-archiver, japicmp, and the
test/publisher-only Jackson 2.22.4. Published library dependencies are
unchanged.
- Move that fixture to Spring Boot 4.2.0, which manages OpenTelemetry 1.68.0,
so the 1.67.0 override in the next entry is gone. Raise that entry's Guava
pins to 33.8.0 for GHSA-v5x9-67m3-7m56, and refresh plexus-archiver and the
Maven Help and Versions plugins. Published library dependencies are
unchanged.
- Pin Guava 33.7.2 in the Checkstyle, japicmp, WAR and Central publisher
plugin realms and the Jakarta fixture's Selenium tests, and raise the
fixture's OpenTelemetry to 1.67.0, for GHSA-xxph-c9ww-hj94 and
Expand Down
9 changes: 5 additions & 4 deletions jakarta-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ A local Chrome-only diagnostic for the JavaScript suite remains available with

## Framework and API boundaries

As reviewed on 2026-10-26, this fixture uses supported Spring Boot **4.1.2** and
As reviewed on 2026-11-23, this fixture uses supported Spring Boot **4.2.0** and
its managed dependencies, on JDK **17**, with Tomcat/Jasper **11.0.27**
(Servlet **6.1**, Pages **4.0**, EL **6.0**). The deliberate BOM override is
Selenium 4.49.0, aligned with the current reviewed browser image. Its test-only
Guava (**33.7.2**) and OpenTelemetry (**1.67.0**) are raised to the first
releases that fix GHSA-xxph-c9ww-hj94 and GHSA-ccrj-gw8r-854m; see the
Selenium 4.49.0, aligned with the current reviewed browser image; Boot manages
4.51.0. Its test-only Guava is pinned to **33.8.0**, which fixes
GHSA-xxph-c9ww-hj94 and GHSA-v5x9-67m3-7m56. OpenTelemetry (**1.68.0**) follows
the Boot BOM again, past the 1.67.0 that fixes GHSA-ccrj-gw8r-854m; see the
[dependency decisions](../.github/DEPENDENCY_DECISIONS.md).
Testcontainers **2.0.5**, JSTL API **3.0.2** and implementation **3.0.1** follow the
Boot BOM. The standalone Servlet/Pages/EL API JARs are removed; Tomcat supplies
Expand Down
21 changes: 9 additions & 12 deletions jakarta-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>4.1.2</version>
<version>4.2.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>org.owasp.encoder.testing</groupId>
Expand All @@ -24,17 +24,14 @@
<java.version>17</java.version>
<!-- Keep the client aligned with the reviewed, digest-pinned browser image. -->
<selenium.version>4.49.0</selenium.version>
<!-- GHSA-ccrj-gw8r-854m: Boot 4.1.2 manages OpenTelemetry 1.62.0, which
Selenium's test-only tracing uses. 1.67.0 is the first fixed release. -->
<opentelemetry.version>1.67.0</opentelemetry.version>
<!-- Must equal the version in the root pom.xml so this app tests the
encoder-jakarta-jsp built in the same reactor. CI checks this. -->
<encoder.version>1.6.1-SNAPSHOT</encoder.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- GHSA-xxph-c9ww-hj94: Selenium 4.49.0 brings Guava 33.7.1 (test only). -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.7.2-jre</version></dependency>
<!-- GHSA-xxph-c9ww-hj94, GHSA-v5x9-67m3-7m56: Selenium 4.49.0 brings Guava 33.7.1 (test only). -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.8.0-jre</version></dependency>
</dependencies>
</dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -121,10 +118,10 @@
<version>12.3.1</version>
</dependency>
<dependency><groupId>org.apache.commons</groupId><artifactId>commons-lang3</artifactId><version>3.22.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.15.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.16.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-utils</artifactId><version>4.0.3</version></dependency>
<!-- GHSA-xxph-c9ww-hj94: Checkstyle 12.3.1 brings Guava 33.5.0. -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.7.2-jre</version></dependency>
<!-- GHSA-xxph-c9ww-hj94, GHSA-v5x9-67m3-7m56: Checkstyle 12.3.1 brings Guava 33.5.0. -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.8.0-jre</version></dependency>
</dependencies>
<configuration>
<configLocation>${maven.multiModuleProjectDirectory}/src/main/config/checkstyle.xml</configLocation>
Expand Down Expand Up @@ -199,10 +196,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<dependencies>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.15.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.16.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-utils</artifactId><version>4.0.3</version></dependency>
<!-- GHSA-xxph-c9ww-hj94: the WAR plugin's Guice brings Guava 33.4.8. -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.7.2-jre</version></dependency>
<!-- GHSA-xxph-c9ww-hj94, GHSA-v5x9-67m3-7m56: the WAR plugin's Guice brings Guava 33.4.8. -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.8.0-jre</version></dependency>
</dependencies>
</plugin>
<plugin>
Expand Down
24 changes: 12 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
<version>3.5.2</version>
<version>3.6.0</version>
<dependencies>
<dependency><groupId>org.jsoup</groupId><artifactId>jsoup</artifactId><version>1.24.1</version></dependency>
</dependencies>
Expand Down Expand Up @@ -273,7 +273,7 @@
<artifactId>maven-source-plugin</artifactId>
<version>3.4.0</version>
<dependencies>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.15.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.16.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-utils</artifactId><version>4.0.3</version></dependency>
</dependencies>
</plugin>
Expand All @@ -283,7 +283,7 @@
<version>3.12.0</version>
<dependencies>
<dependency><groupId>commons-beanutils</groupId><artifactId>commons-beanutils</artifactId><version>1.11.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.15.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.16.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-utils</artifactId><version>4.0.3</version></dependency>
</dependencies>
</plugin>
Expand Down Expand Up @@ -323,13 +323,13 @@
<version>6.2.0</version>
<dependencies>
<dependency><groupId>commons-beanutils</groupId><artifactId>commons-beanutils</artifactId><version>1.11.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.15.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.16.0</version></dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.25.1</version>
<version>2.25.2</version>
</plugin>
<!-- Run the japicmp engine directly. The Maven report wrapper pulls
obsolete site/reporting libraries into the build-only graph. -->
Expand All @@ -343,8 +343,8 @@
<artifactId>japicmp</artifactId>
<version>0.27.0</version>
</dependency>
<!-- GHSA-xxph-c9ww-hj94: japicmp brings Guava 33.4.8. -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.7.2-jre</version></dependency>
<!-- GHSA-xxph-c9ww-hj94, GHSA-v5x9-67m3-7m56: japicmp brings Guava 33.4.8. -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.8.0-jre</version></dependency>
</dependencies>
<executions>
<execution>
Expand Down Expand Up @@ -378,8 +378,8 @@
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.12.0</version>
<dependencies>
<!-- GHSA-xxph-c9ww-hj94: the publisher brings Guava 32.1.0. -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.7.2-jre</version></dependency>
<!-- GHSA-xxph-c9ww-hj94, GHSA-v5x9-67m3-7m56: the publisher brings Guava 32.1.0. -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.8.0-jre</version></dependency>
</dependencies>
</plugin>
</plugins>
Expand Down Expand Up @@ -420,10 +420,10 @@
<version>12.3.1</version>
</dependency>
<dependency><groupId>org.apache.commons</groupId><artifactId>commons-lang3</artifactId><version>3.22.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.15.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-archiver</artifactId><version>4.16.0</version></dependency>
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-utils</artifactId><version>4.0.3</version></dependency>
<!-- GHSA-xxph-c9ww-hj94: Checkstyle 12.3.1 brings Guava 33.5.0. -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.7.2-jre</version></dependency>
<!-- GHSA-xxph-c9ww-hj94, GHSA-v5x9-67m3-7m56: Checkstyle 12.3.1 brings Guava 33.5.0. -->
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>33.8.0-jre</version></dependency>
</dependencies>
<configuration>
<configLocation>${maven.multiModuleProjectDirectory}/src/main/config/checkstyle.xml</configLocation>
Expand Down
Loading
Loading