LiveActive security incident?Get immediate response
CVE Record

CVE-2023-23650: WordPress MainWP Code Snippets Extension Plugin <= 4.0.2 is vulnerable to Cross Site Scripting (XSS)

Auth. (subscriber+) Stored Cross-Site Scripting (XSS) vulnerability in MainWP MainWP Code Snippets Extension plugin <= 4.0.2 versions.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This is a stored cross-site scripting issue in the WordPress MainWP Code Snippets Extension. A low-privileged authenticated user, such as a subscriber, could store malicious script that later runs for another user. Business risk is moderate because exploitation requires an account and user interaction, but admin sessions may be exposed.

Executive priority

Treat as a moderate-priority WordPress plugin issue. Prioritize internet-facing sites with many subscriber accounts or delegated user access, because successful XSS can affect privileged users even when initial access is low.

Technical view

CVE-2023-23650 is CWE-79 stored XSS affecting MainWP Code Snippets Extension plugin versions 4.0.2 and earlier. CVSS 3.1 is 6.5 with network access, low attack complexity, low privileges, required user interaction, and changed scope. The source bundle does not name a fixed version.

Likely exposure

WordPress sites using MainWP Code Snippets Extension version 4.0.2 or earlier, especially where subscriber-level accounts are available to untrusted users.

Exploitation context

The bundle marks KEV false and provides no cited evidence of active exploitation. The risk profile suggests authenticated, low-privilege stored XSS requiring a victim to view affected content or interface.

Researcher notes

The strongest source details are the CVE description, CVSS vector, CWE-79 classification, and Patchstack reference. Evidence is incomplete on fixed version, exploitation in the wild, and exact vulnerable input path, so avoid claims beyond authenticated subscriber-plus stored XSS in versions up to 4.0.2.

Mitigation direction

  • Check MainWP and Patchstack guidance for the fixed or recommended version.
  • Upgrade the extension if vendor guidance confirms a safe release.
  • Disable or remove the extension if it is unused or cannot be updated.
  • Limit subscriber-level access to trusted users until remediation is confirmed.
  • Monitor WordPress admin activity for unexpected changes or suspicious account behavior.

Validation and detection

  • Inventory WordPress sites for MainWP Code Snippets Extension installations.
  • Confirm whether installed versions are 4.0.2 or earlier.
  • Identify sites allowing untrusted users to hold subscriber or higher roles.
  • Review security tooling or WAF logs for XSS-related alerts.
  • Verify remediation against current vendor or Patchstack guidance.
Prepared
Confidence
medium
Sources
3

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.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-23650 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

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.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L2.33.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2023-23650Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
MainWPMainWP Code Snippets Extensionn/aunaffected
Weakness

CWE details

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.