跳到内容

Comment Form CSRF Protection

v1.4

Ayesh Karunaratne · 2019年2月21日 上架

Prevent Cross-Site Request Forgery attacks on your comments form.

正在使用
400+
评分
5.0 / 5
累计下载
1.6 万
最近更新
2023年7月23日
2 条评价需要 WordPress 4.2+已测试到 6.3.15PHP 7.1+

截图

Comment Form CSRF Protection
Comment Form CSRF Protection

WordPress has a 12-year-old unfixed security vulnerability that it does not properly validate incoming comments.

An attacker can trick both anonymous and logged-in users to post comments on a victim site without them realizing, while using their own credentials.

See this issue for more information: https://core.trac.wordpress.org/ticket/10931

This is a tiny (fewer than 40 effect lines of code) module that adds a secure token to the comment form and validate it before accepting any comment, thus making your comment forms secure as they should\’ve been for all these years!

It provides no UI – just install it, and you are all set!

  1. This plugin adds a secret cryptographically-secure token to the comment form. This is a unique value and is computationally impractical to guess it.
  2. Upon comment submission, the comment is rejected if the secret tokens are not present or computationally invalid.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums