CVE-2020-13868: Comments plugin Cross-Site Request Forgery (CSRF) in verbb/comments

verbb/comments Updated 02 Oct 2025

Summary

24/05/2022
Yes i
Moderate
6.5

CVE-2020-13868: Comments plugin Cross-Site Request Forgery (CSRF). Affects verbb/comments versions < 1.5.5. Fixed in 1.5.5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Comments plugin is a package for Craft CMS that allows users to add comments to their website. It provides functionality for managing and displaying comments on web pages. The plugin is widely used and integrates with various versions of Craft CMS. However, it is vulnerable to Cross-Site Request Forgery (CSRF) attacks.

Vulnerability Detail

The CSRF vulnerability in the Comments plugin before version 1.5.5 for Craft CMS allows attackers to manipulate comment integrity. By exploiting this vulnerability, an attacker can trick authenticated users into performing unintended actions, such as posting comments or deleting existing comments without their knowledge or consent. This can lead to unauthorized modifications or deletions of comments, compromising the integrity of the comment system.

How To Fix

Minimum fixed version

1.5.5

This is the first release that contains the fix.

composer require verbb/comments:1.5.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by updating the Comments plugin to the latest version.

Conclusion

The CSRF vulnerability in the Comments plugin for Craft CMS can compromise the integrity of the comment system, allowing unauthorized modifications or deletions of comments. It is crucial to update the plugin to version 1.5.5 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for verbb/comments →

Share this vulnerability

FAQ

This vulnerability allows attackers to manipulate comment integrity, potentially leading to unauthorized modifications or deletions of comments.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your composer.lock file, and Vulert will analyze it for any open-source vulnerabilities, including this CSRF vulnerability in the Comments plugin.

Yes, upgrading to version 1.5.5 or later of the Comments plugin for Craft CMS fixes this vulnerability. It is recommended to update the plugin as soon as possible.

There are no known workarounds for this vulnerability. The recommended solution is to update the Comments plugin to the latest version.

Related vulnerabilities

Recent vulnerabilities recorded for verbb/comments.

How To Fix

Minimum fixed version

1.5.5

This is the first release that contains the fix.

composer require verbb/comments:1.5.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback