Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Marcus C. J. Hartmann mcjh button shortcode mcjh-button-shortcode allows Stored XSS.This issue affects mcjh button shortcode: from n/a through <= 1.6.4.
Security readout for executives and security teams
Plain-English summary
CVE-2025-22558 is a stored cross-site scripting issue in the WordPress mcjh button shortcode plugin through version 1.6.4. A lower-privileged authenticated user may be able to save unsafe content that later runs in another user's browser. Business risk is mainly site integrity, account trust, and visitor or administrator session exposure.
Executive priority
Treat as a moderate WordPress application risk. Prioritize sites where the plugin is present, content editing is delegated, or administrator sessions may view user-supplied content.
Technical view
The CVE describes CWE-79 improper input neutralization during web page generation in mcjh-button-shortcode. CVSS 3.1 is 6.5 with network attack vector, low complexity, low privileges required, user interaction required, and changed scope. The source bundle does not name the vulnerable parameter, a proof of concept, or a fixed version.
Likely exposure
Exposure appears limited to WordPress sites with mcjh button shortcode installed and enabled at version 1.6.4 or earlier, especially where non-admin users can create or edit shortcode-backed content.
Exploitation context
The provided sources do not show active exploitation, and the CVE is not listed as KEV in the bundle. Exploitation would require an authenticated user with some content capability and a victim viewing affected stored content.
Researcher notes
Evidence is metadata-level. The bundle identifies stored XSS and CVSS details but does not provide root-cause code context, exploit maturity, affected shortcode fields, or confirmed remediation version. Avoid assuming broader product impact.
Mitigation direction
Inventory WordPress sites for mcjh-button-shortcode installation and version.
Disable or remove the plugin if it is unnecessary.
Check vendor or Patchstack guidance for an official fixed version.
Restrict content editing privileges to trusted users until remediated.
Review WordPress roles that can publish or edit shortcode content.
Validation and detection
Confirm whether mcjh-button-shortcode is installed and active.
Record the installed version and compare it with the affected range through 1.6.4.
Review users and roles allowed to edit pages, posts, or shortcode content.
Inspect affected content areas for unexpected script-bearing markup.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.