GHSA-8rr6-2qw5-pc7r · Severity: medium · Ecosystem: maven — PMD Designer has Stored XSS in VBHTMLRenderer and YAHTMLRenderer via unescaped violation messages
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.
Conclusion & alert: CVE-2026-28338 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.30%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.03% | 0.30% | +0.27% |
| 2 | 2026-02-28 | — | 0.03% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.8 | 3.1 | MEDIUM |
|
1.6 | 5.2 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-8rr6-2qw5-pc7r · Severity: medium · Ecosystem: maven — PMD Designer has Stored XSS in VBHTMLRenderer and YAHTMLRenderer via unescaped violation messages
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| pmd_project | pmd | < 7.22.0 | cpe:2.3:a:pmd_project:pmd:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/pmd/pmd/commit/c140c0e1de5853a08efb84c9f91dfeb015882442 | Patch |
| https://github.com/pmd/pmd/pull/6475 | Issue Tracking Patch |
| https://github.com/pmd/pmd/security/advisories/GHSA-8rr6-2qw5-pc7r | Exploit Patch Vendor Advisory |