AnQiCMS v3.6.6 fixed two high-risk security issues and upgrade suggestions

📅 2026-10-16 👁️ 19

AnQi Content Management System (AnQiCMS) v3.6.6 was released on October 8, 2026, fixing two high-risk security issues related to SQL injection in list sorting parameters and the vulnerability of login credentials on site switching that can be forged. It is recommended to rotate the token key and change the administrator password after the upgrade to ensure that old credentials are invalidated. These two fixes are aimed at mitigating the risk of attackers bypassing authentication or executing malicious SQL statements by constructing special requests.

What are the two high-risk issues fixed in v3.6.6?

According to the CHANGELOG record, version v3.6.6 focuses on fixing the following two high-risk issues:

SQL injection in list sorting parametersAn attacker can inject malicious SQL fragments into the sorting parameters of the list interface, bypassing the parameter validation logic and executing arbitrary database queries. This type of vulnerability can lead to data leakage, data tampering, or even server permission acquisition.

The login credentials for site switching can be forgedIn the multi-site management scenario, an attacker can forge login credentials during site switching to access the management interface of other sites as an unauthorized user. This vulnerability breaks the isolation boundary between multi-sites, making the compromise of a single site potentially affect the entire system.

Both of these issues have been rated as high-risk because they allow attackers to perform sensitive operations without valid credentials. For sites exposed to the public internet, it is recommended to upgrade to version 3.6.6 or higher as soon as possible.

Attack surface of SQL injection in list sorting parameters

List sorting is a common feature in CMS backend, used to sort content by fields such as time, title, and page views. The usual implementation is to directly append the sorting parameters submitted by the user to the SQL ORDER BY clause.

If there is insufficient parameter validation, an attacker can submit a similarid; DROP TABLE users--malicious string, which, when directly appended to the SQL statement by the system, will execute additional malicious commands. Even if prepared statements are used, the ORDER BY clause, due to the inability to use bound variables, still requires special whitelist validation.

The fix for v3.6.6 involves implementing strict whitelist validation for sorting parameters, allowing only predefined field names and sorting directions (ASC/DESC), and rejecting any input containing SQL keywords or special characters. At the same time, a one-time ticket mechanism is introduced to ensure the legitimacy of the source of sorting requests.

The risk of the login credentials for site switching being forged

AnQiCMS supports multi-site management, allowing users to switch between sites without having to log in again. This feature relies on the login token passed during site switching.

Before the fix, there was a flaw in the token generation or verification logic, attackers could:

  1. Intercept legitimate site switching requests and analyze the token format
  2. Construct a forged token pointing to the target site
  3. Use the forged token to switch to an unauthorized site management interface

Once successful, attackers can perform administrator-level operations on the target site, including publishing content, modifying configurations, exporting data, etc. For service providers hosting multiple customer sites, this cross-site privilege escalation could lead to serious data breaches.

v3.6.6's fix strengthens the token signature verification mechanism, ensuring that tokens can only be generated by the server and cannot be tampered with. It also introduces a token key rotation mechanism, regularly changing the signature key can quickly make leaked tokens invalid.

Token key rotation operation after the upgrade

After upgrading to v3.6.6, the official recommends rotating the token key to clear any old keys that may be in the possession of attackers. The token key is a system-level key used to sign login credentials and is stored in the configuration file.

Rotation steps:

  1. Back up the token key value in the current configuration file
  2. Generate a new random string as the token key
  3. Update the configuration file and restart the service
  4. Notify all administrators to log in again

After the rotation, all tokens signed with the old token key will expire immediately, and users need to re-authenticate. It is recommended to perform the rotation operation during off-peak hours to avoid affecting normal business.

The necessity of changing the administrator password

In addition to rotating the token key, the official also recommends changing the administrator password. This is because if an attacker has previously obtained the administrator credentials in other ways, simply rotating the token key is not enough to prevent them from logging in again.

Password change suggestion:

  • Use a complex password of at least 12 characters, including uppercase and lowercase letters, numbers, and special characters
  • Avoid using dictionary words, birthdays, phone numbers, and other easily guessable content.
  • Assign independent accounts to different administrators and prohibit password sharing.
  • Enable two-factor authentication (if supported by the system).

Password changes should be executed after token key rotation to ensure that the new password uses a new signature key for protection.

Common questions

What are the consequences of not upgrading?

If you continue to use outdated versions with vulnerabilities, the site may face risks of data leakage due to SQL injection attacks and management security risks of unauthorized access across multiple sites. For sites exposed to the public internet, the probability of being discovered by automated scanning tools is relatively high, and it is recommended to upgrade as soon as possible.

Do you need to reconfigure the site after the upgrade?

No. v3.6.6 is a patch version, which does not involve changes to the data structure or configuration format. The upgrade process only requires replacing the program files, and the existing site configuration, content data, and template files remain unchanged.

How to confirm whether the current version has been fixed?

Log in to the back-end management system, check the current version number on the system information page. If it shows 3.6.6 or higher, it already includes the fix. You can also find the release records for v3.6.6 in the CHANGELOG.md file to confirm.

Related articles

AnQiCMS v3.6.3 launches three major AI capabilities: Visual Editor, MCP Server, and Automatic Tagging

Introducing AnQiCMS v3.6.3 version (released on 2026-09-04) with three new AI capabilities: Visual template editor, MCP Server support, reCAPTCHA captcha and AI automatic tagging, reducing the development threshold and improving content creation efficiency.

2026-10-16

AnQiCMS v3.6.5 MCP intent directory reconstruction: new capability of round-level batch approval.

Detailed explanation of the AnQiCMS v3.6.5 version (released on 2026-10-07), which rebuilds the MCP tool layer based on the intent directory and supports round-by-round batch approval, as well as the newly added features such as email subscription, message list, and base64 upload for attachments.

2026-10-16

Important feature update explanation of AnQiCMS v3.6.5 version

AnQiCMS v3.6.5 was released on October 7, 2026, the MCP tool layer was rebuilt based on the intent directory and supports round-by-round batch approval. New features include email subscription, message list management, base64 attachment upload, template backup expansion, and file search wildcard functions. This article details the usage and configuration methods of each new feature.

2026-10-16

v3.6.5 adds detailed explanation of email subscription, message list, file search, and base64 upload features.

v3.6.5 was released on October 7, 2026, adding five new features: email subscription, message list, base64 attachment upload, template backup table expansion, and wildcard file search, solving pain points such as user retention, content interaction, resource management, and search efficiency, providing a complete backend operation tool for small and medium-sized enterprise websites.

2026-10-15

Update instructions for AnQiCMS v3.6.7

Released on October 20, 2026 - Save settings. The biggest change in this version is the save setting. The backend settings page is divided into multiple tabs. When you change something in the 'Basic Settings' and click save, the program submits the entire page - but those tabs you haven't opened are empty, so the settings in 'SEO', 'Email', and 'Watermark' that you've never touched are cleared to default values.The entire process does not report an error, and the save prompts success as usual. Now it is changed to only save the items you have modified, and the ones not touched are kept as they are. The front-end also conveniently fixed another problem: when switching between tabs, the content filled halfway will not be lost.Involves the four pages of site settings, content settings, security settings, and contact information, as well as

2026-10-20

What to pay attention to after upgrading v3.6.6 after fixing two high-risk issues

AnQiCMS v3.6.6 was released on October 8, 2026, fixing two high-risk issues such as SQL injection in list sorting parameters and the forgery of login credentials when switching sites. Upgrade suggestions include rotating the site signature key and changing the administrator password, and enabling one-time ticket mechanisms to prevent credential reuse.

2026-10-22

AnQiCMS v3.6.6 security update analysis: detailed analysis of fixing two high-risk issues

AnQiCMS v3.6.6 was released on October 8, 2026, and fixed two high-risk issues, including SQL injection in list sorting parameters and site switching login credentials that can be forged. When upgrading, you need to rotate the site signature key and change the administrator password, and enhance security through a single ticket mechanism.

2026-10-22

v3.6.6 fixes the list sorting parameter injection issue, how to schedule the upgrade window?

AnQiCMS resolves the SQL injection issue in the list sorting parameter and the two high-risk issues where the login credentials of site switching can be forged in v3.6.6 (2026-10-08), and suggests that the site signature key and the administrator's password should be rotated during the upgrade, and the administrator's password should be changed. The upgrade window should be arranged during the off-peak hours: first, back up data and static files, stop writing after upgrading, and then verify the sorting parameters, site switching, and the exposed back-end surface one by one, and write the changes of the one-time ticket mechanism into the regression checklist.

2026-10-25