CVE-2020-13868:
Comments plugin Cross-Site Request Forgery (CSRF)
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.31446%
CWE
Published
5/24/2022
Updated
4/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
verbb/comments | composer | < 1.5.5 | 1.5.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing CSRF protections in state-changing actions. The changelog for 1.5.5 explicitly mentions fixing a CSRF issue in the comment trashing mechanism. Prior to this patch, the trash action (likely handled by actionTrash
in CommentsController
) accepted requests without proper CSRF validation. While other actions like flagging/voting were later secured via POST requests in 1.6.0, the CVE-2020-13868
fix in 1.5.5 specifically addresses the trash action, making it the primary vulnerable function
with high confidence based on patch notes.