# CVE-2020-8658: The BestWebSoft Htaccess plugin through 1.8.1 for WordPress allows wp-admin/admin.php?page=htaccess.php&action=htaccesseditor CSRF.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 9.92%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-02-06T02:19:25.000Z
- Modified: 2026-06-17T03:26:43.263Z
- Weaknesses: CWE-352
- Assigned by: mitre

## Description

The BestWebSoft Htaccess plugin through 1.8.1 for WordPress allows wp-admin/admin.php?page=htaccess.php&action=htaccess_editor CSRF. The flag htccss_nonce_name passes the nonce to WordPress but the plugin does not validate it correctly, resulting in a wrong implementation of anti-CSRF protection. In this way, an attacker is able to direct the victim to a malicious web page that modifies the .htaccess file, and takes control of the website.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- bestwebsoft htaccess: up to 1.8.1

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/V1n1v131r4/Exploiting-WP-Htaccess-by-BestWebSoft-Plugin/blob/master/README.md> (exploit, third-party-advisory)
- <https://wordpress.org/plugins/htaccess/#developers> (third-party-advisory)
- <https://wpvulndb.com/vulnerabilities/10060> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-8658](https://www.cve.org/CVERecord?id=CVE-2020-8658), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-8658](https://nvd.nist.gov/vuln/detail/CVE-2020-8658), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8658 · Whole record: https://cve.day/CVE-2020-8658.json · Rebuilt by cve.day 2026-11-25T22:57:50.765Z
