# CVE-2026-17520: Newsletters WordPress plugin predictable API key generation

Source: https://junglewise.ai/threats/cve-2026-17520-newsletters-wordpress-plugin-predictable-api-key-generation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-29. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-17520 · Severity: medium · CVSS 4.8 · Published 2026-08-29

The Newsletters WordPress plugin uses an insufficiently random method to generate API keys for its optional REST API endpoint, deriving them from the site hostname instead of cryptographic randomness. An attacker who discovers or assumes a target's domain name can compute the valid API key offline and then add/remove email subscribers, send newsletters, and perform other privileged actions without authentication.

## Quick answers

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

**How severe is CVE-2026-17520?** Medium severity, with a CVSS score of 4.8, published 29 August 2026.

**Which products and versions are affected?** Newsletters Newsletters before 4.17.

**Is there a fix for CVE-2026-17520?** A patch was published on 2026-08-29: version 4.17 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-17520 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-17520?** Check whether anything you run is named in the advisory. 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

The vulnerability is a weak cryptographic key generation issue (CWE-326) in the Newsletters plugin's API authentication mechanism. The API key is computed as the MD5 hash of the site hostname, converted to uppercase—a deterministic and publicly knowable input. When the optional API is enabled (not the default), an unauthenticated attacker can derive a valid key using only the target domain name and execute POST requests to /wp-admin/admin-ajax.php?action=newsletters_api with methods like subscriber_add, subscriber_delete, and email/newsletter sending. No user interaction or prior authentication is required. The vulnerability was patched in version 4.17.

## Affected products

- Newsletters Newsletters before 4.17

## Timeline

- 2026-08-27: disclosed
- 2026-08-29: patched: version 4.17

## References

- [https://wpscan.com/vulnerability/5a719e6b-22e1-4950-bf17-cd92e2ea6685/](https://wpscan.com/vulnerability/5a719e6b-22e1-4950-bf17-cd92e2ea6685/)
