Skip to content

pmd-ant-7.16.0.jar: 2 vulnerabilities (highest severity is: 6.8) #185

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - pmd-ant-7.16.0.jar

Path to dependency file: /artemis-java-template/build.gradle

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/net.sourceforge.pmd/pmd-core/7.16.0/97e3fc23e0ba50e8626b24352e10a82bd1a70164/pmd-core-7.16.0.jar

Found in HEAD commit: 180f05ef2a587f08854a7c5bf00863a92c46352f

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (pmd-ant version) Remediation Possible**
CVE-2026-28338 Medium 6.8 pmd-core-7.16.0.jar Transitive N/A*
CVE-2025-48924 Medium 5.3 commons-lang3-3.17.0.jar Transitive 7.17.0

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-28338

Vulnerable Library - pmd-core-7.16.0.jar

Library home page: https://pmd.github.io/

Path to dependency file: /artemis-java-template/build.gradle

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/net.sourceforge.pmd/pmd-core/7.16.0/97e3fc23e0ba50e8626b24352e10a82bd1a70164/pmd-core-7.16.0.jar

Dependency Hierarchy:

  • pmd-ant-7.16.0.jar (Root Library)
    • pmd-core-7.16.0.jar (Vulnerable Library)

Found in HEAD commit: 180f05ef2a587f08854a7c5bf00863a92c46352f

Found in base branch: main

Vulnerability Details

PMD is an extensible multilanguage static code analyzer. Prior to version 7.22.0, PMD's "vbhtml" and "yahtml" report 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. Practical impact is limited because "vbhtml" and "yahtml" are legacy formats rarely used in practice. The default "html" format is properly escaped and not affected. Version 7.22.0 contains a fix for the issue.

Publish Date: 2026-02-27

URL: CVE-2026-28338

CVSS 3 Score Details (6.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-02-27

Fix Resolution: https://github.com/pmd/pmd.git - pmd_releases/7.22.0

Step up your Open Source Security Game with Mend here

CVE-2025-48924

Vulnerable Library - commons-lang3-3.17.0.jar

Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.

The code is tested using the latest revision of the JDK for supported
LTS releases: 8, 11, 17 and 21 currently.
See https://github.com/apache/commons-lang/blob/master/.github/workflows/maven.yml

Please ensure your build environment is up-to-date and kindly report any build issues.

Library home page: https://commons.apache.org/proper/commons-lang/

Path to dependency file: /artemis-java-template/build.gradle

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.17.0/b17d2136f0460dcc0d2016ceefca8723bdf4ee70/commons-lang3-3.17.0.jar

Dependency Hierarchy:

  • pmd-ant-7.16.0.jar (Root Library)
    • pmd-core-7.16.0.jar
      • commons-lang3-3.17.0.jar (Vulnerable Library)

Found in HEAD commit: 180f05ef2a587f08854a7c5bf00863a92c46352f

Found in base branch: main

Vulnerability Details

Uncontrolled Recursion vulnerability in Apache Commons Lang.
This issue affects Apache Commons Lang: Starting with commons-lang:commons-lang 2.0 to 2.6, and, from org.apache.commons:commons-lang3 3.0 before 3.18.0.
The methods ClassUtils.getClass(...) can throw StackOverflowError on very long inputs. Because an Error is usually not handled by applications and libraries, a
StackOverflowError could cause an application to stop.
Users are recommended to upgrade to version 3.18.0, which fixes the issue.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2025-07-11

URL: CVE-2025-48924

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-07-11

Fix Resolution (org.apache.commons:commons-lang3): 3.18.0

Direct dependency fix Resolution (net.sourceforge.pmd:pmd-ant): 7.17.0

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions