CVE-2022-25576
PHP vulnerability analysis and mitigation

Overview

Anchor CMS v0.12.7 was discovered to contain a Cross-Site Request Forgery (CSRF) vulnerability in the component anchor/routes/posts.php. The vulnerability allows an attacker to delete posts by exploiting the lack of CSRF token validation in the post deletion functionality (GitHub Analysis).

Technical details

The vulnerability exists in the post deletion route handler located in anchor/routes/posts.php. The code implements a GET route '/admin/posts/delete/(:num)' that directly deletes posts without any CSRF token validation or referer checking. When called, it deletes the post, associated comments, and post metadata from the database (GitHub Analysis).

Impact

An attacker can craft a malicious webpage that, when visited by an authenticated admin user, can trigger unauthorized deletion of blog posts from the CMS. This could lead to loss of content and disruption of the blog service (GitHub Analysis).

Mitigation and workarounds

The recommended mitigation is to implement proper CSRF protection by adding token validation for post deletion requests. Additionally, such destructive operations should use POST/DELETE HTTP methods instead of GET. Note that Anchor CMS is no longer maintained as of May 2020, and users are advised to migrate to alternative platforms (GitHub Repository).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management