Stellarwp The Events Calendar
The Events Calendar <= 6.17.4 - Unauthenticated PHP Object Injection to Remote Code Execution
The The Events Calendar plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 6.17.4 via the is_safe_widget_instance function. This is due to insufficient protection in is_safe_widget_instance, which can be bypassed because PHP fires magic methods during its pre-parse, combined with enable_rendering_widget_copied() forging a valid wp_hash integrity attribute before unserialize() is reached. This makes it possible for unauthenticated attackers to execute code on the server. This is exploitable without authentication or approval because the plugin's V2 single-event template runs do_blocks() over buffered comment HTML, and WordPress returns a moderation-hash URL that allows an unauthenticated commenter to immediately view their own pending comment, delivering the injected block markup to the vulnerable code path before any moderation occurs. This does require comments to be enabled and visible on events.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 6.17.4
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 4 h after publication; not in CISA KEV. First PoC: DeadExpl0it/CVE-2026-78006-POC (created 12 Sep 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 1 pending
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| DeadExpl0it/CVE-2026-78006-POC | 12 Sep 2026 +4 h | 4 | PoC |
| antid00t/CVE-2026-78006-CVE-2026-78159 | 28 Sep 2026 +16 d | 3 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| user445213/CVE-2026-78006 | 13 Sep 2026 +1.2 d | 0 | Pending · repository unavailable (HTTP 404)
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /wp-login.php
- PoC User-Agent
Mozilla/5.0 (tec-generic-async)- Seen in
- 1 repo: DeadExpl0it/CVE-2026-78006-POC
- Evidence
- DeadExpl0it/CVE-2026-78006-POC/CVE-2026-78006.py:238
POST /wp-comments-post.php
- Body markers
comment_post_ID=author=email=url=comment=comment_parent=0submit=Post Commentinapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (tec-generic-async)- Seen in
- 1 repo: DeadExpl0it/CVE-2026-78006-POC
- Evidence
- DeadExpl0it/CVE-2026-78006-POC/CVE-2026-78006.py:173
POST /wp-login.php
- Body markers
log=pwd=wp-submit=Log Inredirect_to=testcookie=1inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (tec-generic-async)- Seen in
- 1 repo: DeadExpl0it/CVE-2026-78006-POC
- Evidence
- DeadExpl0it/CVE-2026-78006-POC/CVE-2026-78006.py:247
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-login\.php(?:[?#].*)?$
(?i)^/wp-comments-post\.php(?:[?#].*)?$
(?i)^/wp-login\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-78006 stellarwp The Events Calendar exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-login.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-78006; classtype:web-application-attack; sid:9807342; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-78006 stellarwp The Events Calendar exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-comments-post.php"; http.request_body; content:"comment_post_ID="; http.request_body; content:"author="; http.request_body; content:"email="; http.request_body; content:"url="; http.request_body; content:"comment="; http.request_body; content:"comment_parent=0"; http.request_body; content:"submit=Post Comment"; reference:url,poc.griffinguard.io/cve/CVE-2026-78006; classtype:web-application-attack; sid:9053814; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-78006 stellarwp The Events Calendar exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-login.php"; http.request_body; content:"log="; http.request_body; content:"pwd="; http.request_body; content:"wp-submit=Log In"; http.request_body; content:"redirect_to="; http.request_body; content:"testcookie=1"; reference:url,poc.griffinguard.io/cve/CVE-2026-78006; classtype:web-application-attack; sid:9367972; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: stellarwp The Events Calendar exploit attempt (CVE-2026-78006)
id: gg-pocmon-cve-2026-78006-9807342
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-78006. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-78006
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-login.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.78006
title: stellarwp The Events Calendar exploit attempt (CVE-2026-78006)
id: gg-pocmon-cve-2026-78006-9053814
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-78006. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-78006
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-comments-post.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.78006
title: stellarwp The Events Calendar exploit attempt (CVE-2026-78006)
id: gg-pocmon-cve-2026-78006-9367972
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-78006. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-78006
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-login.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.78006