# CVE-2026-56047: Perfmatters unauthenticated XSS in WordPress plugin

Source: https://junglewise.ai/threats/cve-2026-56047-perfmatters-unauthenticated-xss-in-wordpress-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-26. Updated: 2026-06-26  
License: CC BY 4.0 with a link back

CVE-2026-56047 · Severity: high · CVSS 7.1 · Published 2026-06-26

Perfmatters is a WordPress plugin designed to improve website performance by disabling unnecessary features and optimizing scripts. A security flaw in versions 2.6.3 and earlier allows an unauthenticated attacker to trick a user into executing malicious code in their browser. This could lead to unauthorized actions being performed on behalf of the user, such as redirecting visitors to malicious sites or stealing session information.

Technologies: [Perfmatters](https://junglewise.ai/threats/technologies/perfmatters). Vendors: [Perfmatters](https://junglewise.ai/threats/vendors/perfmatters).

## Quick answers

**Is CVE-2026-56047 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-56047 being exploited in the wild.

**How severe is CVE-2026-56047?** High severity, with a CVSS score of 7.1, published 26 June 2026.

**Which products and versions are affected?** Perfmatters <= 2.6.3.

**Is there a fix for CVE-2026-56047?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-56047 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-56047?** Check whether you run Perfmatters at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A Reflected Cross-Site Scripting (XSS) vulnerability exists in the Perfmatters WordPress plugin due to improper neutralization of user-supplied input during web page generation (CWE-79). The flaw allows an unauthenticated remote attacker to inject malicious scripts into the application. Successful exploitation requires a victim to interact with a specially crafted link or page. Once executed, the script runs within the context of the victim's browser session, potentially allowing the attacker to bypass same-origin policy protections and access sensitive data or perform administrative actions. The issue is resolved in version 2.6.4.

## Affected products

- Perfmatters perfmatters <= 2.6.3

## Timeline

- 2026-05-29: other: Reported by researcher dutafi
- 2026-06-25: advisory: Patchstack advisory published
- 2026-06-26: disclosed: NVD publication date

## References

- [https://wordpress.org/plugins](https://wordpress.org/plugins)
- [https://patchstack.com/database/wordpress/plugin/perfmatters/vulnerability/wordpress-perfmatters-plugin-2-6-3-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve](https://patchstack.com/database/wordpress/plugin/perfmatters/vulnerability/wordpress-perfmatters-plugin-2-6-3-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve)

## Related threats

- [Perfmatters WordPress plugin directory traversal in Local Google Fonts](https://junglewise.ai/threats/cve-2026-13251-perfmatters-wordpress-plugin-directory-traversal-in-local-google)
- [Perfmatters arbitrary file deletion via path traversal in PMCS::action_handler](https://junglewise.ai/threats/cve-2026-4350-perfmatters-arbitrary-file-deletion-via-path-traversal-in-pmcs)
