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

Source: https://junglewise.ai/threats/cve-2026-28338-pmd-designer-has-stored-xss-in-vbhtmlrenderer-and-yahtmlrenderer  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-02-28  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/net-sourceforge-pmd-pmd-core). Vendors: [Maven](https://junglewise.ai/threats/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

  ```sh
  # 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

## Related threats

- [PMD Designer's release key passphrase (GPG) available on Maven Central in cleartext](https://junglewise.ai/threats/cve-2025-23215-pmd-designer-s-release-key-passphrase-gpg-available-on-maven)
- [Improper Restriction of XML External Entity Reference in PMD](https://junglewise.ai/threats/cve-2019-7722-improper-restriction-of-xml-external-entity-reference-in-pmd)
