CVE-2026-28338
Last modified
CVE-2026-28338 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pmd Project | Pmd | < 7.22.0 |
References
- https://github.com/pmd/pmd/pull/6475Issue Tracking, Patch
- https://github.com/pmd/pmd/security/advisories/GHSA-8rr6-2qw5-pc7rExploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-28338?
How severe is CVE-2026-28338?
How do I fix CVE-2026-28338?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-28318SolarWinds Serv-U is susceptible to specially crafted POST r…7.5
- CVE-2026-2832Certain Samsung MultiXpress Multifunction Printers may be vu…5.3
- CVE-2026-28321SolarWinds Serv-U is affected by a broken access control vul…9.1
- CVE-2026-28322SolarWinds Database Performance Analyzer was found to be aff…5.6
- CVE-2026-28323SolarWinds Web Help Desk is found to be affected by a SAML a…9.8
- CVE-2026-2833An HTTP request smuggling vulnerability (CWE-444) was found …9.1
- CVE-2026-2834The Age Verification & Identity Verification by Token of Tru…7.2
- CVE-2026-28342OliveTin gives access to predefined shell commands from a we…7.5
- CVE-2026-28343CKEditor 5 is a modern JavaScript rich-text editor with an M…6.1
- CVE-2026-28348lxml_html_clean is a project for HTML cleaning functionaliti…6.1
- CVE-2026-2835An HTTP Request Smuggling vulnerability (CWE-444) has been f…9.1
- CVE-2026-28350lxml_html_clean is a project for HTML cleaning functionaliti…6.1
Are you affected by CVE-2026-28338?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
