Skip to content

[Snyk] Fix for 1 vulnerabilities#18

Open
DavidThomas-coder wants to merge 1 commit intomainfrom
snyk-fix-4c3f36ebde5046b1923ce6b8587478eb
Open

[Snyk] Fix for 1 vulnerabilities#18
DavidThomas-coder wants to merge 1 commit intomainfrom
snyk-fix-4c3f36ebde5046b1923ce6b8587478eb

Conversation

@DavidThomas-coder
Copy link
Copy Markdown
Owner

@DavidThomas-coder DavidThomas-coder commented Dec 9, 2025

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.

Snyk changed the following file(s):

  • todolist-goof/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue Score Upgrade
high severity Incomplete Cleanup
SNYK-JAVA-ORGAPACHESTRUTS-14172798
  710   org.apache.struts:struts2-core:
2.3.20 -> 6.8.0
org.apache.struts:struts2-spring-plugin:
2.3.20 -> 6.8.0
Major version upgrade No Path Found Proof of Concept

Important

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

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

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.


Note

Update struts2.version in todolist-goof/pom.xml from 2.3.20 to 6.8.0.

Written by Cursor Bugbot for commit 4d50823. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

<hibernate.version>4.3.7.Final</hibernate.version>
<tapestry.version>5.3.8</tapestry.version>
<struts2.version>2.3.20</struts2.version>
<struts2.version>6.8.0</struts2.version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Major version upgrade breaks application without required config changes

Upgrading struts2.version from 2.3.20 to 6.8.0 will break the application. The web.xml file references org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter, but this class package was removed in Struts 2.5+. In Struts 6.x, the correct class path is org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter (without the ng subpackage). Additionally, the struts.xml references the outdated DTD struts-2.0.dtd which is incompatible with Struts 6.x. The application will fail to start after this upgrade without corresponding configuration file updates.

Fix in Cursor Fix in Web

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