CVE-2026-28338: PMD Designer has Stored XSS in VBHTMLRenderer and YAHTMLRenderer via unescaped violation messages

CVE-2026-28338 · Severity: low · CVSS 3.1 · Published 2026-02-28

PMD Designer has Stored XSS in VBHTMLRenderer and YAHTMLRenderer via unescaped violation messages

Technologies: net.sourceforge.pmd:pmd-core (Maven). Vendors: Maven.

Quick answers

Is CVE-2026-28338 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-28338 being exploited in the wild.
How severe is CVE-2026-28338?
Low severity, with a CVSS score of 3.1, published 28 February 2026.
Which products and versions are affected?
net.sourceforge.pmd:pmd-core (Maven) ECOSYSTEM:introduced=0,fixed=7.22.0.
Is there a fix for CVE-2026-28338?
Yes. net.sourceforge.pmd:pmd-core (Maven): upgrade to 7.22.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-28338?
Check whether you run net.sourceforge.pmd:pmd-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • net.sourceforge.pmd:pmd-core (Maven): upgrade to 7.22.0 or later
    # set net.sourceforge.pmd:pmd-core to 7.22.0 in your pom.xml or build.gradle

Affected products

  • net.sourceforge.pmd:pmd-core (Maven) ECOSYSTEM:introduced=0,fixed=7.22.0

Identifiers

  • CVE-2026-28338
  • GHSA-8rr6-2qw5-pc7r

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.