Skip to content

[Snyk] Upgrade org.jsoup:jsoup from 1.21.1 to 1.22.1 - #164

Open
sb-benohe wants to merge 1 commit into
developfrom
snyk-upgrade-e5db01b9c79dc0e4a7b0e3887448df53
Open

[Snyk] Upgrade org.jsoup:jsoup from 1.21.1 to 1.22.1#164
sb-benohe wants to merge 1 commit into
developfrom
snyk-upgrade-e5db01b9c79dc0e4a7b0e3887448df53

Conversation

@sb-benohe

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to upgrade org.jsoup:jsoup from 1.21.1 to 1.22.1.

ℹ️ 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 2 versions ahead of your current version.

  • The recommended version was released 4 months ago.

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


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.

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:

Snyk has created this PR to upgrade org.jsoup:jsoup from 1.21.1 to 1.22.1.

See this package in maven:
org.jsoup:jsoup

See this project in Snyk:
https://app.snyk.io/org/madie/project/a5ec248a-5564-4a09-9b41-046bb8c9fd15?utm_source=github&utm_medium=referral&page=upgrade-pr
@sb-benohe

Copy link
Copy Markdown
Contributor Author

Merge Risk: Medium

This upgrade introduces a significant behavioral change in the HTML parser.

Key Change:

  • Default Parser Depth Limit: To enhance security and prevent potential stack overflow errors, the HTML parser now enforces a default maximum nesting depth of 512 elements. Previously, the depth was unlimited. Parsing documents that exceed this depth will now result in an error by default.

Impact:

  • This change could affect applications that process legitimate HTML documents with very deep nesting structures. The XML parser's behavior is unchanged and remains unlimited by default.

Recommendation:

  • If your application parses deeply nested HTML, you may need to increase the limit manually using Parser.setMaxDepth(). It is recommended to test your application with representative documents to ensure they do not exceed the new default limit.

Source: jsoup 1.22.1 Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@sb-benohe
sb-benohe requested a review from a team as a code owner May 9, 2026 11:22
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented May 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.19%. Comparing base (971fa0e) to head (f5dbbcd).

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #164   +/-   ##
==========================================
  Coverage      32.19%   32.19%           
  Complexity       874      874           
==========================================
  Files             95       95           
  Lines           8642     8642           
  Branches        1148     1148           
==========================================
  Hits            2782     2782           
  Misses          5695     5695           
  Partials         165      165           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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