CVE Feed

    Dashboard / CVE / CVE-2026-28338

    CVE-2026-28338

    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.

    Published:Feb 27, 2026
    Last Modified:Apr 17, 2026
    EPS:Feb 27, 2026
    EPSS Score:0.00019
    CVSS Score:6.8

    Affected Products

    Vendor
    Pmd
    Product
    Pmd
    Vendor
    Pmd Project
    Product
    Pmd

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High