CVE-2023-5162
WordPress vulnerability analysis and mitigation

Overview

The Options for Twenty Seventeen WordPress plugin (versions up to and including 2.5.0) contains a Stored Cross-Site Scripting vulnerability (CVE-2023-5162) discovered in September 2023. The vulnerability exists in the 'social-links' shortcode functionality due to insufficient input sanitization and output escaping of user-supplied attributes (NVD CVE, WPScan Report).

Technical details

The vulnerability stems from improper sanitization of user input and inadequate output escaping in the 'social-links' shortcode implementation. The CVSS v3.1 base score is 6.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, indicating a network-accessible vulnerability requiring low attack complexity and low privileges (NVD CVE).

Impact

When exploited, this vulnerability allows authenticated attackers with contributor-level permissions or higher to inject arbitrary web scripts into pages. These malicious scripts will execute whenever a user accesses the compromised page, potentially leading to unauthorized actions or data theft (WPScan Report).

Mitigation and workarounds

The vulnerability has been patched in version 2.5.1 of the Options for Twenty Seventeen plugin. Site administrators are strongly advised to update to this version or later to protect against potential attacks (WPScan Report).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23550CRITICAL10
  • modular-connector
NoYesJan 14, 2026
CVE-2025-12166HIGH7.5
  • simply-schedule-appointments
NoYesJan 14, 2026
CVE-2026-0813MEDIUM4.4
  • short-link
NoNoJan 14, 2026
CVE-2026-0812MEDIUM4.4
  • linkedin-sc
NoNoJan 14, 2026
CVE-2026-0741MEDIUM4.4
  • electric-studio-download-counter
NoNoJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management