CVE-2024-29338: Cross-Site Request Forgery in Anchor CMS

anchorcms/anchor-cms Updated 02 Oct 2025

Summary

22/03/2024
No i
Moderate
7.4

CVE-2024-29338: Cross-Site Request Forgery in Anchor CMS. Affects anchorcms/anchor-cms versions < 0.12.7. No fix is published. 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

Anchor CMS is a content management system that allows users to create and manage websites. It is widely used for its simplicity and ease of use. The vulnerability identified as CVE-2024-29338 affects Anchor CMS version 0.12.7. This version of the software is susceptible to a Cross-Site Request Forgery (CSRF) attack, specifically in the '/anchor/admin/categories/delete/2' endpoint. This vulnerability allows an attacker to trick authenticated users into performing unintended actions, potentially leading to unauthorized modifications or data loss.

Vulnerability Detail

The Cross-Site Request Forgery (CSRF) vulnerability in Anchor CMS v0.12.7 enables an attacker to forge malicious requests that are executed with the privileges of an authenticated user. By tricking a user into visiting a specially crafted webpage or clicking on a malicious link, the attacker can perform actions on behalf of the user without their consent or knowledge. In this case, the vulnerability resides in the '/anchor/admin/categories/delete/2' endpoint, which allows an attacker to delete a category without proper authorization. This can lead to the unintended removal of categories and associated content, disrupting the website's structure and functionality.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can disable the affected endpoint '/anchor/admin/categories/delete/2' or implement additional access controls to prevent unauthorized access. This can be achieved by modifying the server configuration or implementing custom code to validate requests and enforce proper authorization. However, it is important to note that workarounds may introduce limitations or impact the functionality of the CMS, so upgrading to a patched version is still the recommended solution.

Conclusion

The Cross-Site Request Forgery (CSRF) vulnerability in Anchor CMS v0.12.7 poses a significant risk to the integrity and security of websites using this version. To mitigate this vulnerability, it is crucial to upgrade to a patched version of Anchor CMS and implement proper security measures. Regularly monitoring for vulnerabilities using tools like Vulert can help ensure the ongoing security of your Anchor CMS installation. For further assistance and guidance on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for anchorcms/anchor-cms →

Share this vulnerability

FAQ

A CSRF attack is a type of security vulnerability that allows an attacker to trick authenticated users into performing unintended actions on a web application. By exploiting the trust between the user's browser and the target website, the attacker can execute actions on behalf of the user without their knowledge or consent.

The CSRF vulnerability in Anchor CMS can lead to unauthorized modifications or data loss. An attacker could delete categories and associated content, disrupt the website's structure, and potentially impact its functionality. Additionally, if the authenticated user has administrative privileges, the attacker may be able to perform more severe actions, such as modifying user accounts or injecting malicious code.

You can use Vulert's playground (https://vulert.com/scanner) to check if your Anchor CMS installation is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the composer.lock file, without requiring access to the code or installation.

At the time of this report, there is no evidence of active exploitation of this specific vulnerability. However, it is crucial to address the issue promptly by applying the recommended fixes to mitigate the risk of potential attacks.

For more information about Anchor CMS security, you can visit the official website (https://anchorcms.com) or refer to the documentation and community forums. Additionally, you can reach out to the Anchor CMS development team for further support and guidance.

Related vulnerabilities

Recent vulnerabilities recorded for anchorcms/anchor-cms.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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