← Back

CVE-2026-28338

nvd nist
Published: Feb 27, 2026Modified: Mar 3, 2026

JSON object

Loading...
6.1
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Exploitability: 2.8 / Impact: 2.7
Source: NVD

Description

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.

Affected (1)

Products: Pmd Project: Pmd
1 product
Pmd
Configuration A
1 vulnerable
Vulnerable SoftwareAffected Versions
Before 7.22.0

References (3)

Source: security-advisories@github.com
Issue TrackingPatch
Source: security-advisories@github.com
ExploitPatchVendor Advisory

Timeline

No history available yet.