Skip to content

[Snyk] Upgrade org.thymeleaf.extras:thymeleaf-extras-springsecurity5 from 3.0.4.RELEASE to 3.1.3.RELEASE#5

Closed
rogeliocisternas wants to merge 3 commits intomainfrom
snyk-upgrade-a36323ede59b56be7a5f7e5cca0a9fc8
Closed

[Snyk] Upgrade org.thymeleaf.extras:thymeleaf-extras-springsecurity5 from 3.0.4.RELEASE to 3.1.3.RELEASE#5
rogeliocisternas wants to merge 3 commits intomainfrom
snyk-upgrade-a36323ede59b56be7a5f7e5cca0a9fc8

Conversation

@rogeliocisternas
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade org.thymeleaf.extras:thymeleaf-extras-springsecurity5 from 3.0.4.RELEASE to 3.1.3.RELEASE.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 8 versions ahead of your current version.

  • The recommended version was released a year ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Cross-site Scripting (XSS)
SNYK-JAVA-ORGTHYMELEAFEXTRAS-572299
539 No Known Exploit

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

…om 3.0.4.RELEASE to 3.1.3.RELEASE

Snyk has created this PR to upgrade org.thymeleaf.extras:thymeleaf-extras-springsecurity5 from 3.0.4.RELEASE to 3.1.3.RELEASE.

See this package in maven:
org.thymeleaf.extras:thymeleaf-extras-springsecurity5

See this project in Snyk:
https://app.snyk.io/org/r4devopsdotcom/project/4288e90f-f21f-499f-9be2-cbb7492d3f78?utm_source=github&utm_medium=referral&page=upgrade-pr
…om 3.0.4.RELEASE to 3.1.3.RELEASE

Snyk has created this PR to upgrade org.thymeleaf.extras:thymeleaf-extras-springsecurity5 from 3.0.4.RELEASE to 3.1.3.RELEASE.

See this package in maven:
org.thymeleaf.extras:thymeleaf-extras-springsecurity5

See this project in Snyk:
https://app.snyk.io/org/r4devopsdotcom/project/4288e90f-f21f-499f-9be2-cbb7492d3f78?utm_source=github&utm_medium=referral&page=upgrade-pr
Copilot AI review requested due to automatic review settings February 1, 2026 12:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the thymeleaf-extras-springsecurity5 dependency from version 3.0.4.RELEASE to 3.1.3.RELEASE to address a medium-severity Cross-site Scripting (XSS) vulnerability (SNYK-JAVA-ORGTHYMELEAFEXTRAS-572299).

Changes:

  • Updated thymeleaf-extras-springsecurity5 version from 3.0.4.RELEASE to 3.1.3.RELEASE in pom.xml

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 64 to 68
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity5</artifactId>
<version>3.0.4.RELEASE</version>
<version>3.1.3.RELEASE</version>
</dependency>
Copy link

Copilot AI Feb 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This dependency upgrade has a critical compatibility issue. Spring Boot 3.0.6 (line 8) uses Spring Security 6 by default, but thymeleaf-extras-springsecurity5 version 3.1.3.RELEASE is designed for Spring Security 5.x.

For Spring Boot 3.x with Spring Security 6, you should use thymeleaf-extras-springsecurity6 instead. This will require changing both the artifactId and version. For example:

  • artifactId: thymeleaf-extras-springsecurity6
  • version: 3.1.2.RELEASE (or later)

While the application may currently work because the Thymeleaf Security extras are not actively used in the templates (no sec: namespace found), this mismatch could cause runtime issues if security-specific Thymeleaf features are used in the future.

Copilot uses AI. Check for mistakes.
…om 3.0.4.RELEASE to 3.1.3.RELEASE

Snyk has created this PR to upgrade org.thymeleaf.extras:thymeleaf-extras-springsecurity5 from 3.0.4.RELEASE to 3.1.3.RELEASE.

See this package in maven:
org.thymeleaf.extras:thymeleaf-extras-springsecurity5

See this project in Snyk:
https://app.snyk.io/org/r4devopsdotcom/project/4288e90f-f21f-499f-9be2-cbb7492d3f78?utm_source=github&utm_medium=referral&page=upgrade-pr
@rogeliocisternas rogeliocisternas deleted the snyk-upgrade-a36323ede59b56be7a5f7e5cca0a9fc8 branch February 8, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants