VYPR
Moderate severityNVD Advisory· Published Mar 24, 2022· Updated Aug 3, 2024

CVE-2022-25576

CVE-2022-25576

Description

Anchor CMS v0.12.7 is vulnerable to a CSRF that allows an attacker to delete posts without the admin's consent.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Anchor CMS v0.12.7 is vulnerable to a CSRF that allows an attacker to delete posts without the admin's consent.

Vulnerability

Anchor CMS v0.12.7 contains a Cross-Site Request Forgery (CSRF) vulnerability in the anchor/routes/posts.php component. The delete post endpoint at admin/posts/delete/(:num) uses a GET request with no CSRF token or referer check [1][3]. This allows an attacker to forge requests that delete posts when an authenticated admin visits a malicious page.

Exploitation

An attacker must trick an authenticated admin into visiting a malicious HTML page or clicking a crafted link. The admin's browser then automatically sends a GET request to /admin/posts/delete/{id} with the admin's session cookie. No user interaction beyond visiting the page is required, as demonstrated by a PoC using a simple HTML form and history.pushState to hide the redirect [3].

Impact

Successful exploitation allows the attacker to arbitrarily delete any post on the site. The deletion is permanent; comments and metadata associated with the post are also removed. The attacker gains the ability to destroy content with the same privileges as the admin, leading to data loss and disruption of the site's content.

Mitigation

The Anchor CMS project is no longer maintained, and no patch has been issued for this vulnerability [2]. Users are advised to migrate to an alternative CMS. As a workaround, administrators can restrict access to the admin panel via IP whitelisting or require a POST method with a CSRF token, but these are not implemented in the current release. This CVE is not listed in the Known Exploited Vulnerabilities (KEV) catalog.

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
anchorcms/anchor-cmsPackagist
<= 0.12.7

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.