CVE-2025-23215
Description
PMD is an extensible multilanguage static code analyzer. The passphrase for the PMD and PMD Designer release signing keys are included in jar published to Maven Central. 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. Note, that the published artifacts in Maven Central under the group id net.sourceforge.pmd are not compromised and the signatures are valid.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
net.sourceforge.pmd:pmd-designerMaven | >= 7.0.0, < 7.10.0 | 7.10.0 |
net.sourceforge.pmd:pmd-uiMaven | >= 6.14.0, <= 6.19.0 | — |
net.sourceforge.pmd:pmd-coreMaven | >= 6.21.0, < 7.10.0 | 7.10.0 |
Patches
2e87a45312753Explicitly add designer.properties
2 files changed · +13 −29
pom.xml+8 −29 modified@@ -99,8 +99,16 @@ </includes> <excludes> <exclude>**/*.less</exclude> + <exclude>net/sourceforge/pmd/util/fxdesigner/designer.properties</exclude> </excludes> </resource> + <resource> + <directory>${project.basedir}/src/main/resources/</directory> + <includes> + <include>net/sourceforge/pmd/util/fxdesigner/designer.properties</include> + </includes> + <filtering>true</filtering> + </resource> </resources> @@ -381,35 +389,6 @@ </executions> </plugin> - <plugin> - <groupId>com.internetitem</groupId> - <artifactId>write-properties-file-maven-plugin</artifactId> - <version>2.0.0</version> - <executions> - <execution> - <phase>generate-resources</phase> - <goals> - <goal>write-properties-file</goal> - </goals> - <configuration> - <filename> - net/sourceforge/pmd/util/fxdesigner/designer.properties - </filename> - <properties> - <property> - <name>pmd.designer.version</name> - <value>${pmd.designer.version}</value> - </property> - <property> - <name>pmd.core.version</name> - <value>${pmd.core.version}</value> - </property> - </properties> - </configuration> - </execution> - </executions> - </plugin> - <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId>
src/main/resources/net/sourceforge/pmd/util/fxdesigner/designer.properties+5 −0 added@@ -0,0 +1,5 @@ +# Loaded in net.sourceforge.pmd.util.fxdesigner.DesignerVersion +# The variables are replaced by resource filtering, see https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html + +pmd.designer.version=${pmd.designer.version} +pmd.core.version=${pmd.core.version}
1548f5f27ba2Include only required properties
1 file changed · +17 −7
pom.xml+17 −7 modified@@ -382,19 +382,29 @@ </plugin> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>properties-maven-plugin</artifactId> - <version>1.1.0</version> + <groupId>com.internetitem</groupId> + <artifactId>write-properties-file-maven-plugin</artifactId> + <version>2.0.0</version> <executions> <execution> <phase>generate-resources</phase> <goals> - <goal>write-project-properties</goal> + <goal>write-properties-file</goal> </goals> <configuration> - <outputFile> - ${project.build.outputDirectory}/net/sourceforge/pmd/util/fxdesigner/designer.properties - </outputFile> + <filename> + net/sourceforge/pmd/util/fxdesigner/designer.properties + </filename> + <properties> + <property> + <name>pmd.designer.version</name> + <value>${pmd.designer.version}</value> + </property> + <property> + <name>pmd.core.version</name> + <value>${pmd.core.version}</value> + </property> + </properties> </configuration> </execution> </executions>
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- github.com/advisories/GHSA-88m4-h43f-wx84ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-23215ghsaADVISORY
- github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/net/sourceforge/pmd/pmd-designer/README.mdghsaWEB
- github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/net/sourceforge/pmd/pmd-designer/pmd-designer-7.0.0.diffoscopeghsaWEB
- github.com/pmd/pmd-designer/commit/1548f5f27ba2981b890827fecbd0612fa70a0362nvdWEB
- github.com/pmd/pmd-designer/commit/e87a45312753ec46b3e5576c6f6ac1f7de2f5891nvdWEB
- github.com/pmd/pmd/security/advisories/GHSA-88m4-h43f-wx84nvdWEB
News mentions
0No linked articles in our index yet.