📧 info@ciso.sa | 📱 +966550939344 | Riyadh, Kingdom of Saudi Arabia
🔧 Scheduled Maintenance — Saturday 2:00-4:00 AM AST. Some features may be temporarily unavailable.    ●   
💎
Pro Plan 50% Off Unlock all AI features, unlimited reports, and priority support. Upgrade
Search Center
ESC to close
Global ransomware Multiple sectors CRITICAL 29m Global supply_chain Software Development, IT Infrastructure, Technology CRITICAL 1h Global vulnerability,data_breach,general Technology, Industrial Control Systems, Telecommunications HIGH 2h Global general Consumer Electronics and Retail MEDIUM 4h Global supply_chain Software Development and Technology HIGH 4h Global general Artificial Intelligence and Software Development LOW 5h Global general Artificial Intelligence and Cybersecurity MEDIUM 5h Global malware Software Development / Technology HIGH 6h Global vulnerability Information Technology HIGH 6h Global data_breach Water Utilities / Critical Infrastructure HIGH 6h Global ransomware Multiple sectors CRITICAL 29m Global supply_chain Software Development, IT Infrastructure, Technology CRITICAL 1h Global vulnerability,data_breach,general Technology, Industrial Control Systems, Telecommunications HIGH 2h Global general Consumer Electronics and Retail MEDIUM 4h Global supply_chain Software Development and Technology HIGH 4h Global general Artificial Intelligence and Software Development LOW 5h Global general Artificial Intelligence and Cybersecurity MEDIUM 5h Global malware Software Development / Technology HIGH 6h Global vulnerability Information Technology HIGH 6h Global data_breach Water Utilities / Critical Infrastructure HIGH 6h Global ransomware Multiple sectors CRITICAL 29m Global supply_chain Software Development, IT Infrastructure, Technology CRITICAL 1h Global vulnerability,data_breach,general Technology, Industrial Control Systems, Telecommunications HIGH 2h Global general Consumer Electronics and Retail MEDIUM 4h Global supply_chain Software Development and Technology HIGH 4h Global general Artificial Intelligence and Software Development LOW 5h Global general Artificial Intelligence and Cybersecurity MEDIUM 5h Global malware Software Development / Technology HIGH 6h Global vulnerability Information Technology HIGH 6h Global data_breach Water Utilities / Critical Infrastructure HIGH 6h
Vulnerabilities

CVE-2026-28338

Medium ⚡ Exploit Available
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
CWE-79 — Weakness Type
Published: Feb 27, 2026  ·  Modified: Mar 5, 2026  ·  Source: NVD
CVSS v3
6.8
🔗 NVD Official
📄 Description (English)

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.

🤖 AI Executive Summary

PMD versions prior to 7.22.0 contain a stored XSS vulnerability in legacy `vbhtml` and `yahtml` report formats that fail to escape rule violation messages. When analyzing untrusted code, crafted string literals can inject executable JavaScript into HTML reports. While practical impact is limited due to legacy format usage, organizations using these formats face potential code execution risks when reports are shared or opened in browsers.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: May 10, 2026 14:36
🇸🇦 Saudi Arabia Impact Assessment
Saudi organizations using PMD for code analysis—particularly in government IT departments, financial services, and telecommunications sectors—face XSS risks if they utilize legacy `vbhtml` or `yahtml` report formats. Impact is most significant for organizations analyzing third-party or untrusted source code (outsourced development, open-source dependencies). Banking sector (SAMA-regulated) and government agencies (NCA oversight) using these formats could face compliance violations if malicious code execution occurs during security assessments. Telecom operators (STC, Mobily) and energy sector developers may be affected if PMD is part of their DevSecOps pipelines.
🏢 Affected Saudi Sectors
Government (NCA-regulated agencies) Banking & Financial Services (SAMA-regulated) Telecommunications (STC, Mobily, Zain) Energy & Utilities (ARAMCO, SEC) Healthcare (MOH-regulated) Software Development & IT Services
⚖️ Saudi Risk Score (AI)
5.2
/ 10.0
🔧 Remediation Steps (English)
Immediate Actions:
1. Identify all PMD installations across your organization using `find / -name 'pmd*' -type d` or check build pipelines
2. Audit which report formats are configured—search build scripts and CI/CD configurations for `vbhtml` or `yahtml` parameters
3. If legacy formats are in use, immediately switch to the default `html` format (properly escaped) or `json`/`xml` formats
4. Review all existing HTML reports generated with legacy formats; do not open in browsers if analyzing untrusted code

Patching Guidance:
1. Upgrade PMD to version 7.22.0 or later immediately
2. Update build tool integrations (Maven, Gradle, SonarQube plugins) to use patched PMD version
3. Verify patch installation: `pmd --version` should show 7.22.0+

Compensating Controls (if upgrade delayed):
1. Disable `vbhtml` and `yahtml` report generation in all build configurations
2. Restrict HTML report access to trusted internal networks only
3. Implement Content Security Policy (CSP) headers if reports served via web interface
4. Use sandboxed environments for opening PMD reports from untrusted code analysis

Detection Rules:
1. Monitor for PMD invocations with `-f vbhtml` or `-f yahtml` parameters in logs
2. Alert on HTML report generation from analysis of external/third-party code
3. Search existing reports for `<script>` tags or JavaScript event handlers in violation messages
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. حدد جميع تثبيتات PMD عبر مؤسستك باستخدام `find / -name 'pmd*' -type d` أو تحقق من خطوط الأنابيب
2. تدقيق صيغ التقارير المكونة—ابحث في سكريبتات البناء وتكوينات CI/CD عن معاملات `vbhtml` أو `yahtml`
3. إذا كانت الصيغ القديمة قيد الاستخدام، قم بالتبديل فوراً إلى صيغة `html` الافتراضية (مهروبة بشكل صحيح) أو صيغ `json`/`xml`
4. راجع جميع تقارير HTML الموجودة المُنشأة بصيغ قديمة؛ لا تفتحها في المتصفحات عند تحليل أكواد غير موثوقة

إرشادات التصحيح:
1. قم بترقية PMD إلى الإصدار 7.22.0 أو أحدث فوراً
2. حدّث تكاملات أدوات البناء (Maven و Gradle وملحقات SonarQube) لاستخدام إصدار PMD المصحح
3. تحقق من تثبيت التصحيح: `pmd --version` يجب أن يعرض 7.22.0+

الضوابط البديلة (إذا تأخر الترقية):
1. عطّل إنشاء تقارير `vbhtml` و`yahtml` في جميع تكوينات البناء
2. قيّد الوصول إلى تقارير HTML للشبكات الداخلية الموثوقة فقط
3. طبّق رؤوس سياسة أمان المحتوى (CSP) إذا تم تقديم التقارير عبر واجهة ويب
4. استخدم بيئات معزولة لفتح تقارير PMD من تحليل الأكواس الخارجية

قواعد الكشف:
1. راقب استدعاءات PMD بمعاملات `-f vbhtml` أو `-f yahtml` في السجلات
2. تنبيهات عند إنشاء تقارير HTML من تحليل الأكواد الخارجية/الطرف الثالث
3. ابحث في التقارير الموجودة عن علامات `<script>` أو معالجات أحداث JavaScript في رسائل الانتهاكات
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
ECC 2024 A.14.2.1 - Secure development policy (code analysis security) ECC 2024 A.14.2.5 - Access control for development tools ECC 2024 A.12.6.1 - Management of technical vulnerabilities
🔵 SAMA CSF
SAMA CSF ID.BE-3.2 - Organizational resilience (secure development practices) SAMA CSF PR.DS-6 - Data is protected from unauthorized access (code analysis outputs) SAMA CSF DE.CM-1 - Detection processes and tools (vulnerability scanning)
🟡 ISO 27001:2022
ISO 27001:2022 A.8.2.3 - Segregation of development, test and production environments ISO 27001:2022 A.14.2.1 - Information security requirements analysis and specification ISO 27001:2022 A.14.2.5 - Secure development environment
🟣 PCI DSS v4.0.1
PCI DSS 6.3.2 - Review of custom code prior to release (secure code analysis) PCI DSS 6.5.1 - Injection flaws prevention (XSS in development tools)
📦 Affected Products / CPE 1 entries
pmd_project:pmd
📊 CVSS Score
6.8
/ 10.0 — Medium
📊 CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Attack VectorN — None / Network
Attack ComplexityH — High
Privileges RequiredN — None / Network
User InteractionR — Required
ScopeU — Unchanged
ConfidentialityH — High
IntegrityH — High
AvailabilityN — None / Network
📋 Quick Facts
Severity Medium
CVSS Score6.8
CWECWE-79
EPSS0.03%
Exploit ✓ Yes
Patch ✗ No
Published 2026-02-27
Source Feed nvd
Views 5
🇸🇦 Saudi Risk Score
5.2
/ 10.0 — Saudi Risk
Priority: MEDIUM
🏷️ Tags
CWE-79
Share this CVE

💬 Comments

0
Loading comments
📣 Found this valuable?
Share it with your cybersecurity network
in LinkedIn 𝕏 X / Twitter 💬 WhatsApp ✈ Telegram
🍪 Privacy Preferences
CISO Consulting — Compliant with Saudi Personal Data Protection Law (PDPL)
We use cookies and similar technologies to provide the best experience on our platform. You can choose which types you accept.
🔒
Essential Always On
Required for the website to function properly. Cannot be disabled.
📋 Sessions, CSRF tokens, authentication, language preferences
📊
Analytics
Help us understand how visitors use the site and improve performance.
📋 Page views, session duration, traffic sources, performance metrics
⚙️
Functional
Enable enhanced features like content personalization and preferences.
📋 Dark/light theme, font size, custom dashboards, saved filters
📣
Marketing
Used to deliver content and ads relevant to your interests.
📋 Campaign tracking, retargeting, social media analytics
Privacy Policy →
CISO AI Assistant
Ask anything · Documents · Support
🔐

Introduce Yourself

Enter your details to access the full assistant

Your info is private and never shared
💬
CyberAssist
Online · responds in seconds
5 / 5
🔐 Verify Your Identity

Enter your email to receive a verification code before submitting a support request.

Enter to send · / for commands 0 / 2000
CISO AI · Powered by Anthropic Claude
✦ Quick Survey Help Us Improve CISO Consulting Your feedback shapes the future of our platform — takes less than 2 minutes.
⚠ Please answer this question to continue

How would you rate your overall experience with our platform?

Rate from 1 (poor) to 5 (excellent)

🎉
Thank you!
Your response has been recorded.