Advisory record · GHSA-8rr6-2qw5-pc7r

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

CVSS 6.8 MediumEPSS 0.0035 · 28th percentile

Published by the GitHub Advisory Database at 28 Feb 2026, 02:49 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
net.sourceforge.pmd:pmd-coreMaven<7.22.07.22.0
Identifiers
GHSA-8rr6-2qw5-pc7r · CVE-2026-28338
Weakness (CWE)
CWE-79
Published
28 Feb 2026
Updated
28 Feb 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

PMD (Maven package net.sourceforge.pmd:pmd-core) versions before 7.22.0 are affected by stored cross-site scripting in the vbhtml and yahtml report formats, which insert rule violation messages into HTML output without escaping. An attacker who can get PMD to analyze crafted source code, such as a pull request from an external contributor, can get script to run in the browser of anyone who opens the generated report. Upgrade to version 7.22.0 or later. Avoid the vbhtml and yahtml formats until then.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.8 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0035, the 28th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:21 UTC First seen by agentprime
  2. 31 Oct 2026, 14:21 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.