Title: Bump net.sourceforge.pmd:pmd-core from 6.51.0 to 7.22.0 by dependabot[bot] · Pull Request #1087 · scribejava/scribejava · GitHub
Open Graph Title: Bump net.sourceforge.pmd:pmd-core from 6.51.0 to 7.22.0 by dependabot[bot] · Pull Request #1087 · scribejava/scribejava
X Title: Bump net.sourceforge.pmd:pmd-core from 6.51.0 to 7.22.0 by dependabot[bot] · Pull Request #1087 · scribejava/scribejava
Description: Bumps net.sourceforge.pmd:pmd-core from 6.51.0 to 7.22.0.
Release notes
Sourced from net.sourceforge.pmd:pmd-core's releases.
PMD 7.22.0 (27-February-2026)
27-February-2026 - 7.22.0
The PMD team is pleased to announce PMD 7.22.0.
This is a minor release.
Table Of Contents
🚀️ New and noteworthy
Security fixes
🌟️ New and Changed Rules
New Rules
Changed Rules
🐛️ Fixed Issues
🚨️ API Changes
Deprecations
✨️ Merged pull requests
📦️ Dependency updates
📈️ Stats
🚀️ New and noteworthy
Security fixes
This release fixes a stored XSS vulnerability in VBHTMLRenderer and YAHTMLRenderer via unescaped violation messages.
Affects CI/CD pipelines that run PMD with --format vbhtml or --format yahtml on untrusted source code
(e.g. pull requests from external contributors) and expose the HTML report as a build artifact.
JavaScript executes in the browser context of anyone who opens the report.
Note: The default html format is not affected by unescaped violation messages, but a similar problem
existed with suppressed violation markers.
If you use these reports, it is recommended to upgrade PMD.
Reported by Smaran Chand (@smaranchand).
🌟️ New and Changed Rules
New Rules
The new Java rule UnnecessaryInterfaceDeclaration detects classes that
implement interfaces that are already implemented by its superclass, and interfaces
that extend other interfaces already declared by their superinterfaces.
These declarations are redundant and can be removed to simplify the code.
Changed Rules
The rule CloseResource introduces a new property, allowedResourceMethodPatterns,
which lets you specify method invocation patterns whose return values are resources managed externally.
This is useful for ignoring managed resources - for example, Reader/Writer instances obtained from
HttpServletRequest/HttpServletResponse - because the servlet container, not application code,
is responsible for closing them. By default, the rule ignores InputStream/OutputStream/Reader/Writer
resources returned by methods on (Http)ServletRequest and (Http)ServletResponse
... (truncated)
Commits
7f74d77 [release] prepare release pmd_releases/7.22.0
1d1d51d Prepare pmd release 7.22.0
f150d3d Update security.md (refs #6475)
5523b33 Update contributors for 7.22.0
c140c0e [core] Fix stored XSS in VBHTMLRenderer and YAHTMLRenderer (#6475)
96598aa [core] Fix stored XSS in VBHTMLRenderer and YAHTMLRenderer
0f84b4d chore(deps): bump faraday from 2.13.3 to 2.14.1 (#6474)
0304cfc chore(deps): bump nokogiri to 1.19.1 (#6473)
5d5f969 [core] Fix BaseAntlrTerminalNode getTokenKind to return type instead of index...
41e6b68 [doc] Update release notes (#6471, #6472)
Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show
Open Graph Description: Bumps net.sourceforge.pmd:pmd-core from 6.51.0 to 7.22.0. Release notes Sourced from net.sourceforge.pmd:pmd-core's releases. PMD 7.22.0 (27-February-2026) 27-February-2026 - 7.22.0 The PMD t...
X Description: Bumps net.sourceforge.pmd:pmd-core from 6.51.0 to 7.22.0. Release notes Sourced from net.sourceforge.pmd:pmd-core's releases. PMD 7.22.0 (27-February-2026) 27-February-2026 - 7.22.0 The P...
Opengraph URL: https://github.com/scribejava/scribejava/pull/1087
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a24b6283-8d43-0b45-575b-427e00d54fad |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D596:BB95:6D8B90:90101A:6AFCF62C |
| html-safe-nonce | 05b362e793467d4a44d2f532071b33ad4ddae833f0db30fed668a98ba8d0e612 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTk2OkJCOTU6NkQ4QjkwOjkwMTAxQTo2QUZDRjYyQyIsInZpc2l0b3JfaWQiOiIyMDkzMDI1NzE0MDE5MzQzODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e2b4292fedbebd2882c6d0ba79e0d9bf7a9a67e0daed9ece165e38721157f38f |
| hovercard-subject-tag | pull_request:3342040163 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/scribejava/scribejava/pull/1087/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps net.sourceforge.pmd:pmd-core from 6.51.0 to 7.22.0. Release notes Sourced from net.sourceforge.pmd:pmd-core's releases. PMD 7.22.0 (27-February-2026) 27-February-2026 - 7.22.0 The PMD t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cfabad6ee26d2b84c7afef4ae0cc71b8b692fb9d66f9f15997652ef991bfd3f4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/scribejava/scribejava git https://github.com/scribejava/scribejava.git |
| octolytics-dimension-user_id | 15140551 |
| octolytics-dimension-user_login | scribejava |
| octolytics-dimension-repository_id | 889932 |
| octolytics-dimension-repository_nwo | scribejava/scribejava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 889932 |
| octolytics-dimension-repository_network_root_nwo | scribejava/scribejava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 35f85b78676038389558a41adf8d76e474592ede |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width