Skip to content

Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.

feat(seo-technical): add read-only server stack CVE exposure check

Agrici Daniel23a2a811f874
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ca9aacd..d68289b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Added
+
+- 🚨 **Server stack CVE exposure check** in `seo-technical` (Security category).
+ A read-only, owner-authorized detection pass that flags a site running a
+ server-side stack with a known critical CVE, so the owner can patch or take it
+ offline. Reads the stack from a normal response (`X-Powered-By`, PHP session
+ cookie, WordPress signals, static/Node markers); it never fuzzes, sends
+ exploit payloads, or probes a site the operator does not control. Ships the
+ current PHP critical-RCE advisory (CVE-2026-109618 / CVE-2026-109619, CVSS
+ 9.2, fixed in PHP 8.5.12 / 8.4.27 / 8.3.36 / 8.2.35), detection signals, and
+ reporting bands in `skills/seo-technical/references/stack-cve-exposure.md`. A
+ managed or static host with no PHP signal is reported as not exposed.
+
## [2.4.2] - 2026-10-04
seo-cockpit, Google sign-in through your own account, and a schema-hook fix.
diff --git a/skills/seo-technical/SKILL.md b/skills/seo-technical/SKILL.md
index 986ae4e..e637b7f 100644
--- a/skills/seo-technical/SKILL.md
+++ b/skills/seo-technical/SKILL.md
@@ -112,6 +112,17 @@ Allow: /
- Referrer-Policy
- HSTS preload: check preload list inclusion for high-security sites
- **Back-button hijacking** (spam-policy violation, malicious practices): flag pages that defeat the Back button via `history.pushState`/`replaceState` (including scripts injected by third-party ad/library platforms). Added to Google's spam policies 2026-04-13; **enforcement live since 2026-06-15** (manual actions + automated demotions): treat as Critical.
+- **Server stack CVE exposure** (read-only, owner-authorized sites only): detect
+ when the site runs a server-side stack carrying a known critical CVE, so the
+ owner can patch or take it offline. Read the stack from a normal response
+ (`X-Powered-By`, `Set-Cookie: PHPSESSID`, WordPress `wp-json`/`generator`
+ signals, static/Node markers like `_next/static`); never fuzz or send
+ exploit payloads, and never probe a site the operator does not control. The
+ current PHP critical-RCE advisory (CVE-2026-109618 / CVE-2026-109619, CVSS
+ 9.2, fixed in PHP 8.5.12 / 8.4.27 / 8.3.36 / 8.2.35), detection signals, and
+ reporting bands are in `references/stack-cve-exposure.md`. Treat a confirmed
+ below-fixed PHP version as Critical; a managed or static host with no PHP
+ signal is not exposed by this advisory.
### 4. URL Structure
- Clean URLs: descriptive, hyphenated, no query parameters for content
diff --git a/skills/seo-technical/references/stack-cve-exposure.md b/skills/seo-technical/references/stack-cve-exposure.md
new file mode 100644
index 0000000..2f616ed
--- /dev/null
+++ b/skills/seo-technical/references/stack-cve-exposure.md
@@ -0,0 +1,76 @@
+# Server Stack & CVE Exposure (read-only)
+
+A technical audit should flag when a site runs a server-side stack with a known
+critical CVE, so the owner can patch or take the system offline. This is a
+read-only detection check on sites the operator owns or is authorized to test.
+Never probe a third party's site, and never attempt exploitation; detection here
+means reading normal HTTP responses, not sending attack payloads.
+
+## Scope boundary
+
+- Only run against hosts the user owns or has written authorization to test.
+- Send ordinary requests a normal visitor would. Do not fuzz, brute-force, or
+ send payloads crafted to trigger a vulnerability.
+- Report exposure and the patch path. Fixing is the owner's or host's job.
+
+## PHP critical RCE advisory (dated 2026-10-21)
+
+Treat as a point-in-time snapshot. Re-check the primary sources before acting,
+because guidance is still being published.
+
+- **CVEs:** CVE-2026-109618 and CVE-2026-109619.
+- **Severity:** each rated CVSS 9.2 by the PHP project.
+- **Impact:** unauthenticated remote code execution; a direct path to the
+ server's file system or database. One report attributes memory disclosure
+ (tokens, keys, certificates from other requests) to the second CVE.
+- **Fixed in:** PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35. Branches at or below PHP 7
+ are reported affected and will not receive a fix.
+- **Issuer:** NSA Cyber advised all organizations using PHP to prepare for the
+ update, and to take the system offline until mitigated if an immediate update
+ is not feasible.
+- **Primary sources to re-verify:** nsa.gov press release "NSA Advisory: PHP
+ Updates"; php.net security releases; the assigned CVE records; the national
+ CERT for the operator's jurisdiction.
+
+## Detection signals (what to read, not exploit)
+
+Run the bundled fetch against the user's own URL and read the response:
+
+```bash
+"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run fetch_page.py https://example.com --json
+```
+
+Classify the stack from signals already present in a normal response:
+
+| Signal | Where | Reading |
+|--------|-------|---------|
+| `X-Powered-By: PHP/<ver>` | response header | PHP in use; compare `<ver>` to fixed list |
+| `Server:` value (Apache/LiteSpeed/nginx) | response header | Host software, not proof of PHP by itself |
+| `Set-Cookie: PHPSESSID=` | response header | PHP session in use |
+| `Link: <...wp-json/>; rel="https://api.w.org/"` | response header/HTML | WordPress (PHP) |
+| `<meta name="generator" content="WordPress ...">` | HTML `<head>` | WordPress (PHP) |
+| `/wp-login.php`, `/xmlrpc.php` returning a real login/XML page (200) | path | Live WordPress; a 403/404 alone is not confirmation |
+| `_next/static`, `__NEXT_DATA__`, Vercel/Netlify headers | HTML/headers | Static or Node stack, not PHP |
+
+A managed or static host (Vercel, Netlify, Cloudflare Pages, a Next.js app) that
+shows no PHP signal is not exposed by this advisory. A 403 or 404 on a WordPress
+path is the host refusing a path that does not exist, not evidence of WordPress.
+
+## Reporting
+
+- **Runs PHP, version below fixed list:** Critical. Patch to the fixed release,
+ or take offline until patched.
+- **Runs PHP, version unknown:** High. Tell the operator how to read the exact
+ version (`php -v`, or the hosting panel's PHP settings) and confirm it is at or
+ above the fixed release.
+- **Managed/shared hosting:** the server-level PHP is the host's responsibility.
+ Advise the operator to confirm with the host that it is on a fixed version, and
+ provide a short message they can send to support.
+- **No PHP signal:** Pass. State that it is an external read only, which shows
+ exposure, not a proof that no PHP exists anywhere in the operator's estate.
+
+## Related
+
+- Section 3 (Security) in SKILL.md.
+- SECURITY.md and the `CLAUDE_SEO_LOCAL_TARGETS` allowlist for pre-deployment
+ hosts.