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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-09-20 · Modified: 2026-04-08
- Record: https://cvemate.com/vulnerability/CVE-2023-5062 · JSON: https://cvemate.com/vulnerability/CVE-2023-5062/json

## Description

```text
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.
```

## Signals

- CVSS: 6.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- EPSS: 0.508%, percentile 44.926%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- webfactory wordpress charts: ≤ 0.7.0
- wordpress wp-charts: ≤ 0.7.0
- wpartisan wordpress\_charts: ≤ 0.7.0

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/2de2d2c5-1373-45b6-93a0-575713226669?source=cve>
- <https://plugins.trac.wordpress.org/browser/wp-charts/tags/0.7.0/wordpress_charts_js.php#L223>
- <https://plugins.trac.wordpress.org/browser/wp-charts/tags/0.7.0/wordpress_charts_js.php#L229>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/2de2d2c5-1373-45b6-93a0-575713226669>

---

Data as of 2026-12-05T18:17:22.663Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
