Repository navigation
Update pmdVersion to v7 - #434
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
from
May 13, 2026 12:53
675d483 to
789f841
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
from
May 22, 2026 21:02
789f841 to
06ee638
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
2 times, most recently
from
June 3, 2026 22:08
78935fe to
515d1b8
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
2 times, most recently
from
June 9, 2026 22:55
4ad5cc7 to
9be5ebf
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
3 times, most recently
from
June 23, 2026 21:43
2c6c8d2 to
800ff4a
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
3 times, most recently
from
June 27, 2026 01:33
f245c15 to
f5eef0b
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
from
July 8, 2026 01:36
f5eef0b to
b7b1197
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
4 times, most recently
from
July 22, 2026 23:30
4cd6abe to
e36db8c
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
2 times, most recently
from
August 1, 2026 10:02
fa8ed9e to
5e3aed3
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
3 times, most recently
from
August 26, 2026 02:36
c45f401 to
781203e
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
3 times, most recently
from
September 3, 2026 03:59
b97af83 to
b5fee03
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
3 times, most recently
from
September 10, 2026 01:54
89d3131 to
2ab8dae
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
from
September 12, 2026 01:38
2ab8dae to
a74f531
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
from
September 19, 2026 02:22
a74f531 to
701c672
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
3 times, most recently
from
October 5, 2026 06:50
16b3a2c to
d05ff00
Compare
renovate
Bot
force-pushed
the
renovate/major-pmdversion
branch
from
October 5, 2026 07:02
d05ff00 to
66b9759
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.55.0→7.28.06.55.0→7.28.06.55.0→7.28.06.55.0→7.22.0PMD Designer's release key passphrase (GPG) available on Maven Central in cleartext
CVE-2025-23215 / GHSA-88m4-h43f-wx84
More information
Details
Summary
While rebuilding PMD Designer for Reproducible Builds and digging into issues, I found out that passphrase for
gpg.keyname=0xD0BF1D737C9A1C22is included in jar published to Maven Central.Details
See https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/net/sourceforge/pmd/pmd-designer/README.md
I removed 2 lines from https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/net/sourceforge/pmd/pmd-designer/pmd-designer-7.0.0.diffoscope but real content is:
PoC
Impact
After further analysis, the passphrase of the following two keys have been compromised:
94A5 2756 9CAF 7A47 AFCA BDE4 86D3 7ECA 8C2E 4C5B: PMD Designer (Release Signing Key) releases@pmd-code.orgThis key has been used since 2019 with the release of net.sourceforge.pmd:pmd-ui:6.14.0.
The following versions are signed with the same key: 6.16.0, 6.17.0, 6.19.0.
EBB2 41A5 45CB 17C8 7FAC B2EB D0BF 1D73 7C9A 1C22: PMD Release Signing Key releases@pmd-code.orgThis key has been used since 2020 with the release of net.sourceforge.pmd:pmd-ui:6.21.0
and all the other modules of PMD such as net.sourceforge.pmd:pmd-core:6.21.0.
This key has also been used for PMD 7, for the designer, e.g. net.sourceforge.pmd:pmd-designer:7.0.0
and net.sourceforge.pmd:pmd-core:7.0.0.
The versions between 6.21.0 and 7.9.0 are signed with this key.
Additionally the key has been used to sign the last release of PMD Eclipse Plugin 7.9.0.v20241227-1626-r.
The keys have been used exclusively for signing artifacts that we published to Maven Central under group id
net.sourceforge.pmdand once for our pmd-eclipse-plugin. The private key itself is not known to have been compromised itself, but given its passphrase is, it must also be considered potentially compromised.As a mitigation, both compromised keys have been revoked so that no future use of the keys are possible.
For future releases of PMD, PMD Designer and PMD Eclipse Plugin we use a new release signing key:
2EFA 55D0 785C 31F9 56F2 F87E A0B5 CA1A 4E08 6838(PMD Release Signing Key releases@pmd-code.org).Note, that the published artifacts in Maven Central under the group id
net.sourceforge.pmdare notcompromised and the signatures are valid. No other past usages of the private key is known to the project
and no future use is possible due to the revocation. If anybody finds a past abuse of the private key,
please share with us.
Note, the module
net.sourceforge.pmd:pmd-uihas been renamed tonet.sourceforge.pmd:pmd-designersince PMD 7, so there won't be a fixed version forpmd-ui.Fixes
References
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/U:ClearReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
PMD Designer has Stored XSS in VBHTMLRenderer and YAHTMLRenderer via unescaped violation messages
CVE-2026-28338 / GHSA-8rr6-2qw5-pc7r
More information
Details
Summary
PMD's
vbhtmlandyahtmlreport formats insert rule violation messages into HTML output without escaping. When PMD analyzes untrusted source code containing crafted string literals, the generated HTML report contains executable JavaScript that runs when opened in a browser.While the default
htmlformat is not affected via rule violation messages (it correctly usesStringEscapeUtils.escapeHtml4()), it has a similar problem when rendering suppressed violations. The user supplied message (the reason for the suppression) was not escaped.Details
VBHTMLRenderer.javaline 71 appendsrv.getDescription()directly into HTML:YAHTMLRenderer.javalines 196–203 does the same viarenderViolationRow():Called at line 172:
The violation message originates from
AvoidDuplicateLiteralsRule.javaline 91, which embeds raw string literal values viafirst.toPrintableString(). This callsStringUtil.escapeJava()(line 476–480), which is a Java source escaper — it passes<,>, and&through unchanged because they are printable ASCII (0x20–0x7e).By contrast,
HTMLRenderer.javaline 143 properly escapes:PoC
vbhtmlformat:report.htmlin a browser. A JavaScript alert executes showingdocument.domain.The generated HTML contains the unescaped tag:
Tested and confirmed on PMD 7.22.0-SNAPSHOT (commit bcc646c53d).
Impact
Stored cross-site scripting (XSS). Affects CI/CD pipelines that run PMD with
--format vbhtmlor--format yahtmlon 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.Practical impact is limited because
vbhtmlandyahtmlare legacy formats rarely used in practice. The defaulthtmlformat has a similar issue with user messages from suppressed violations.Fixes
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.