CVE Explorer
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pmd","vendor":"pmd","versions":[{"status":"affected","version":"< 7.22.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:06dee80949161feb2a88be51bf8429ba2bf56029fa0aeb9a76745c30ac63576a · sha256:0b7da3b8ac2d965d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:06dee80949161feb2a88be51bf8429ba2bf56029fa0aeb9a76745c30ac63576a · sha256:0b7da3b8ac2d965d… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:06dee80949161feb2a88be51bf8429ba2bf56029fa0aeb9a76745c30ac63576a · sha256:0b7da3b8ac2d965d… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/pmd/pmd/commit/c140c0e1de5853a08efb84c9f91dfeb015882442","tags":["x_refsource_MISC"],"url":"https://github.com/pmd/pmd/commit/c140c0e1de5853a08efb84c9f91dfeb015882442"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:06dee80949161feb2a88be51bf8429ba2bf56029fa0aeb9a76745c30ac63576a · sha256:0b7da3b8ac2d965d… · /containers/cna/references/2
{"name":"https://github.com/pmd/pmd/pull/6475","tags":["x_refsource_MISC"],"url":"https://github.com/pmd/pmd/pull/6475"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:06dee80949161feb2a88be51bf8429ba2bf56029fa0aeb9a76745c30ac63576a · sha256:0b7da3b8ac2d965d… · /containers/cna/references/1
{"name":"https://github.com/pmd/pmd/security/advisories/GHSA-8rr6-2qw5-pc7r","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pmd/pmd/security/advisories/GHSA-8rr6-2qw5-pc7r"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:06dee80949161feb2a88be51bf8429ba2bf56029fa0aeb9a76745c30ac63576a · sha256:0b7da3b8ac2d965d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.