CVE-2023-5062 MEDIUM

CVE-2023-5062: WordPress Charts <= 0.7.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Vendor Webfactory
Product WordPress Charts
Weakness CWE-79 · XSS
Published September 20, 2023
Last update April 8, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

The WordPress Charts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'wp_charts' shortcode in versions up to, and including, 0.7.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Explanation of Vulnerability in Simple Terms

02Summary

The WordPress Charts plugin through version 0.7.0 contains a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts. These scripts execute in the browsers of other site visitors, potentially compromising their accounts or stealing sensitive data. The vulnerability affects the plugin's chart rendering functionality and requires an attacker to have WordPress user access.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in other users' browsers when they view affected charts.

Potential impact on your site

04Site Impact

Authenticated users can inject scripts affecting other site visitors; visitor accounts and data may be compromised.

Conditions required to exploit

05Prerequisites

Attacker must have a WordPress user account with permissions to create or edit charts.

Key dates

06Disclosure timeline

September 20, 2023 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE