Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessShip trojaned security-OTP Blade template
-
DeliveryVictim renders email in JS-enabled browser
-
ExploitPayload opens WebSocket to hardcoded C2
-
ExecutionInstall MutationObserver password keylogger
-
PersistScrape WhatsApp Web DOM and credentials
-
ImpactExfiltrate data and accept redirect/overwrite commands
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Code review, malicious code detection
|
| Exploitation Conditions | Exploitation requires that the trojaned Resources/views/mails/security-otp.blade.php from VaahCMS 2.0.0-2.3.4 be rendered in a browser with JavaScript enabled - this is the concrete AT:P attack requirement; the script does nothing in a mail client that strips or does not execute <script>. Once rendered, no authentication or attacker privileges are needed (the backdoor auto-connects to a hardcoded WebSocket C2), and full functionality (keylogging, WhatsApp Web scraping, page redirect/overwrite) depends on the rendering surface exposing password inputs or an open WhatsApp Web session. Limiting factors: the payload only fires in a JS-executing browser context, only credential/DOM data present on the rendered page can be captured, and the C2 endpoint must be reachable for exfiltration and remote commands. |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N, 9.2) reflects high confidentiality, integrity and availability impact on the vulnerable system with no privileges required, tempered by AT:P - a present attack requirement, namely that the template must be rendered in a JavaScript-executing browser context. Most conventional mail clients strip or sandbox <script>, so real-world triggering is narrower than a pure AV:N score implies: the payload runs when the OTP template is rendered in a browser with JS enabled (webmail preview, in-app web rendering, or the CMS previewing/serving the template). No EPSS score, KEV listing, or public POC is provided, so there is no signal of active or automated exploitation; however, because this is a backdoor embedded in distributed code, every deployment of an affected version is already carrying the malicious logic - the risk is possession of trojaned code, not a race to patch before attackers develop an exploit. The conflict to flag: the description says any browser rendering the email with JS enabled is affected (implying broad UI-driven reach), while the vector marks UI:N - the AT:P requirement is doing the work of the rendering precondition, so defenders should treat rendering-context as the true limiting factor. |
| Exploit ScenarioDerived | An organization deploys VaahCMS 2.3.4 and a security-OTP email is rendered in a JavaScript-enabled browser context (for example a webmail client that executes script or an in-app HTML preview); the embedded payload silently opens a WebSocket to the attacker's C2, begins keylogging any password field on the page and scraping visible WhatsApp Web content, and awaits remote commands to redirect the victim or overwrite the page for phishing. No public exploit code is needed because the malicious logic is already shipped inside the product. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
Embedded malicious JavaScript (a supply-chain backdoor) in VaahCMS 2.0.0-2.3.4 executes attacker-controlled code in any browser that renders the security-OTP Blade email template with JavaScript enabled, reported by VulnCheck and rated CVSS 4.0 9.2. The obfuscated payload opens a WebSocket to a hardcoded command-and-control endpoint, keylogs password fields via a MutationObserver, scrapes WhatsApp Web DOM content, and accepts remote commands to redirect or overwrite the rendered page. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the malicious code ships in the product itself, so exposure is inherent to running an affected version.
RemediationAI
Vendor-released patch: version 2.3.5 - upgrade VaahCMS to 2.3.5 or later, which is delivered by GitHub PR https://github.com/webreinvent/vaahcms/pull/317 and commit https://github.com/webreinvent/vaahcms/commit/8d7898f7a385a5fade1180a9b664ff158d873129 that strips the injected <script> from the security-OTP Blade template. As an immediate compensating control before upgrading, manually remove the obfuscated inline script block from Resources/views/mails/security-otp.blade.php (restoring the clean <body> tag), since it is self-contained in that single file; additionally, block or monitor outbound WebSocket connections from any host that renders the template to catch the hardcoded C2 callback, and disable JavaScript execution in any browser-based preview or rendering of OTP emails, which has the trade-off of degrading any legitimate dynamic email preview. Given the backdoor also targeted credential capture, rotate credentials and OTP secrets that may have been rendered while an affected version was live. Review the VulnCheck advisory for indicators.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
VaahCMS is a Laravel-based content management framework by WebReinvent, and the malicious code was planted directly in Resources/views/mails/security-otp.blade.php - the server-side Blade template that renders one-time-password security emails. Because the payload lives in a shipped template rather than being injected at exploit time, this maps to CWE-506 (Embedded Malicious Code / backdoor), a supply-chain trojan class rather than a memory-safety or input-validation defect. The script uses standard browser DOM APIs - WebSocket for C2, MutationObserver to hook dynamically inserted <input type=password> fields, postMessage for iframe/parent communication, and DOM selectors targeting WhatsApp Web (div[id=main] header) - to exfiltrate credentials and message content. The affected package is identified by CPE cpe:2.3:a:webreinvent:vaahcms:*:*:*:*:*:*:*:*.
Know when Vaahcms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Backdoor needs no attacker privileges (PR:N) but only fires when a victim renders the email in a JS-enabled browser (UI:R); keylogging/scraping give C:H, page overwrite gives I:H, redirect/overwrite is limited disruption (A:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
VaahCMS versions 2.0.0 through 2.3.4 contain a malicious obfuscated JavaScript payload embedded in the Blade template responsible for rendering security OTP emails, allowing remote attackers to execute unauthorized code in any browser that renders the affected email template with JavaScript enabled. The payload establishes a WebSocket connection to a hardcoded command-and-control endpoint, installs a password-field keylogger using MutationObserver to capture dynamically added inputs, scrapes WhatsApp Web DOM content, and accepts remote commands to redirect or overwrite the rendered page.
Executive ViewAI
VaahCMS versions 2.0.0 through 2.3.4 contain embedded malicious JavaScript shipped in the product itself that automatically executes in user browsers to steal login credentials and accept remote commands. Every organization running affected versions faces immediate risk of credential compromise, account takeover, and unauthorized system access.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-50570
GHSA-m2cx-9w9f-2hm7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB