# Web内容管理系统

Web内容管理系统（WCMS）是一种软件，让人们无需自己编写底层代码，就能为网站创建、管理、存储和部署内容。美国联邦医疗保险和医疗补助服务中心（Centers for Medicare & Medicaid Services）将Web内容管理定义为四项功能：创建、管理、存储和部署Web内容，并将WCMS定义为一组支持这些功能的产品，最好是集成在一起的。<sup>[1](https://www.cms.gov/tra/Application_Development/AD_0250_Portal_Introduction.htm)</sup>在实践中，WCMS为非技术作者提供编辑界面，将内容存储在结构化数据库中，并将其渲染为网页，因此用户无需了解HTML、CSS或[服务器端脚本](https://www.edgepedia.org/zh/server-side-scripting)，就能构建和维护网站。<sup>[2](https://www.techradar.com/features/confused-by-cryptic-web-hosting-terms-weve-got-the-explanations-you-need)</sup>

| 关键事实 | 详情 |
|---|---|
| 核心功能 | 创建、管理、存储和部署Web内容。<sup>[1](https://www.cms.gov/tra/Application_Development/AD_0250_Portal_Introduction.htm)</sup> |
| 两种架构 | 传统（单体式）系统将后端与表现层耦合；无头系统将二者解耦，通过API交付内容。<sup>[3](https://www.techtarget.com/enterprise-software/feature/Traditional-CMS-vs-headless-CMS-Whats-the-difference)</sup> |
| 市场领导者 | 在W3Techs 2026年8月的快照中，WordPress被40.2%的网站使用，相当于可检测到CMS的网站的58.8%；Shopify以5.4%紧随其后，Wix为4.2%，Squarespace为2.4%，Joomla为1.1%。<sup>[4](https://w3techs.com/?Sid=1)</sup> |
| 起源 | WordPress 0.7是首个正式公开发布版本，于2003年5月27日面世，基于PHP和MySQL构建，以GPL许可发布，是b2/cafelog的继任者。<sup>[5](https://wordpress.org/documentation/wordpress-version/version-0-70/)</sup><sup> • </sup><sup>[6](https://wordpress.org/documentation/article/learn-about-wordpress-and-version-history/)</sup> |
| 实测性能 | 在AWS上对17个传统CMS和17个无头CMS进行的标准化负载测试中，无头系统整体上提供了更高的吞吐量和更低的错误率。<sup>[7](https://www.ejmanager.com/mnstemps/259/259-1716933315-REV.pdf)</sup> |
| 安全暴露面 | Ghost CMS中的一个严重SQL注入漏洞（CVE-2026-26980，严重性9.4/10）被利用攻击了700多个域名；DotNetNuke中的一个XSS漏洞（CVE-2026-40321）影响了一个为超过75万个网站提供支持的平台。<sup>[8](https://www.techradar.com/pro/security/ghost-cms-flaw-hijacked-to-target-hundreds-of-websites-with-clickfix-attacks-heres-how-to-stay-safe)</sup><sup> • </sup><sup>[9](https://www.techradar.com/pro/security/chaining-vulnerabilities-is-the-hallmark-of-a-sophisticated-attack-750-000-websites-must-be-patched-as-microsofts-popular-open-source-dotnetnuke-cms-hit-by-an-xss-flaw-that-allows-attackers-to-hijack-admin-sessions-and-take-over-entire-web-servers)</sup> |
| 无障碍基线 | WCAG 2.2是政府发布指南所要求的W3C无障碍标准，于2023年10月5日成为W3C推荐标准，在WCAG 2.1的基础上新增了9项成功标准。<sup>[10](https://www.w3.org/WAI/standards-guidelines/wcag/new-in-22/)</sup> |

## WCMS的功能

WCMS将撰写内容的工作与发布内容的工作分开。作者在管理界面中工作；系统存储每个条目，跟踪其修订历史，并通过角色和权限控制谁可以编辑或发布它。例如，[WordPress](https://www.edgepedia.org/zh/wordpress)定义了从超级管理员和管理员到编辑、作者和订阅者的角色，每个角色允许的能力依次递减。<sup>[11](https://wordpress.org/documentation/article/roles-and-capabilities/)</sup>修订跟踪是内置的：WordPress存储文章和页面的修订版本，以便作者比较版本并回滚到较早的版本。<sup>[12](https://wordpress.org/documentation/article/revisions/)</sup>

**编辑工作流。**结构化发布流程是标准功能。Drupal的核心工作流模块与内容审核模块配合，让可修订的内容实体在审核状态之间流转，组织可以为不同的内容类型配置不同的工作流，状态包括草稿、待审核和已发布。<sup>[13](https://www.drupal.org/docs/8/core/modules/workflows/overview)</sup>大规模部署进一步推进了这一点：GOV.UK发布平台充当英国政府网站上所有内容的规范存储库，包括草稿、被取代的条目和已删除的页面，其发布API管理草稿创建、发布和取消发布，并向独立的草稿和线上内容存储库供料。<sup>[14](https://technology.blog.gov.uk/2016/07/08/introducing-the-gov-uk-publishing-platform-in-detail/)</sup>其内容预览功能让编辑在内容公开之前，在独立的草稿栈上审阅未发布的内容。<sup>[15](https://docs.publishing.service.gov.uk/manual/content-preview.html)</sup>

## 传统架构与无头架构

**传统（单体式）系统**将内容后端和表现层捆绑在一起。WordPress和Drupal是常见的例子。这种耦合简化了网站构建，因为系统决定了内容的显示方式，但它限制了前端定制；添加功能通常意味着安装第三方插件。<sup>[3](https://www.techtarget.com/enterprise-software/feature/Traditional-CMS-vs-headless-CMS-Whats-the-difference)</sup>当一个组织只有一个网站和一类受众时，这种方式效果很好。<sup>[16](https://www.o3world.com/insights/headless-cms-vs-traditional-cms-marketing-teams)</sup>

**无头系统**将两层解耦。后端管理和存储内容，并通过API（通常是REST或GraphQL）将其暴露给任意数量的独立前端：网站、移动应用、物联网设备或其他渠道。这支持全渠道发布，即内容一次创建、处处交付，但组织必须自行开发和维护前端代码。<sup>[3](https://www.techtarget.com/enterprise-software/feature/Traditional-CMS-vs-headless-CMS-Whats-the-difference)</sup><sup> • </sup><sup>[17](https://www.contentful.com/blog/headless-cms-benefits-versus-traditional-cms/)</sup>权衡是以简洁换灵活性：团队在内容呈现方式上获得自由，但要自行处理原本由单体式系统自动处理的路由、重定向、链接管理和构建工具相关工作。<sup>[16](https://www.o3world.com/insights/headless-cms-vs-traditional-cms-marketing-teams)</sup>

2024年的一项同行评审比较在AWS上以相同条件测试了17个传统CMS（包括WordPress、Joomla、Drupal、Wix、TYPO3和[Magento](https://www.edgepedia.org/zh/magento)）和17个无头CMS（包括Contentful、Adobe Experience Manager、Sitecore、Prismic和Gatsby），在20分钟内从1个并发虚拟用户逐步增加到50个。无头组处理了604,077个总请求，传统组为547,162个，作者得出结论：无头系统在可扩展性、可用性、可靠性、错误率、吞吐量和资源利用率方面优于传统系统。各组内部的个体结果差异很大；例如，Drupal记录了0.086秒的平均响应时间，是所有测试系统中最好的之一。<sup>[7](https://www.ejmanager.com/mnstemps/259/259-1716933315-REV.pdf)</sup>

## 采用与市场

WordPress主导CMS使用已超过十年。W3Techs在2026年8月初的调查显示，它占所有网站的40.2%，占可检测到CMS的网站的58.8%，其次是Shopify、Wix、Squarespace和Joomla。<sup>[4](https://w3techs.com/?Sid=1)</sup>这一份额已从2025年初占所有网站约43.6%的峰值逐渐下降，而Astro和GitHub Pages位列增长最快的发布平台之列。<sup>[4](https://w3techs.com/?Sid=1)</sup>

这些系统本身也在持续发展。WordPress 7.0“Armstrong”于2026年5月20日发布，在整个体验中集成了AI，在核心中添加了AI客户端，使软件能够与生成式AI模型通信，并从仪表板中心与用于工作流自动化的Abilities API一起管理。<sup>[18](https://wordpress.org/news/2026/05/armstrong/)</sup>自WordPress 5.5起，管理员可以选择为单个插件和主题启用自动更新，该项目将此机制视为保持网站安全的核心。<sup>[19](https://wordpress.org/documentation/article/plugins-themes-auto-updates/)</sup>

## 安全与无障碍

由于CMS为Web的很大一部分提供支持，其扩展生态系统是一个长期存在的攻击面。对Joomla的安全研究发现，已激活扩展中的跨站脚本或[SQL注入](https://www.edgepedia.org/zh/sql-injection)漏洞对网站安全的影响与核心中的相同漏洞相同，而且扩展通常不在公开安全审计的覆盖范围内，这使它们对攻击者具有吸引力。<sup>[20](https://arxiv.org/abs/2102.03131)</sup>近期事件说明了规模：Ghost CMS SQL注入漏洞CVE-2026-26980影响3.24.0至6.19.0版本，严重性评分为9.4分（满分10分），允许未经身份验证的数据库读取，并被利用来入侵700多个域名，用于恶意软件传播活动；DotNetNuke XSS漏洞CVE-2026-40321让攻击者在一个被超过75万个网站使用的平台上劫持管理员会话。<sup>[8](https://www.techradar.com/pro/security/ghost-cms-flaw-hijacked-to-target-hundreds-of-websites-with-clickfix-attacks-heres-how-to-stay-safe)</sup><sup> • </sup><sup>[9](https://www.techradar.com/pro/security/chaining-vulnerabilities-is-the-hallmark-of-a-sophisticated-attack-750-000-websites-must-be-patched-as-microsofts-popular-open-source-dotnetnuke-cms-hit-by-an-xss-flaw-that-allows-attackers-to-hijack-admin-sessions-and-take-over-entire-web-servers)</sup>

无障碍对许多运营者来说是正式要求，而非可选功能。WCAG 2.2于2023年10月5日成为W3C推荐标准，在WCAG 2.1的基础上新增了9项成功标准，英国政府数字服务局要求发布的内容符合WCAG 2.2。<sup>[10](https://www.w3.org/WAI/standards-guidelines/wcag/new-in-22/)</sup><sup> • </sup><sup>[21](https://www.gov.uk/guidance/publishing-accessible-documents)</sup>对CMS编辑界面的研究发现，基于块的编辑器在现代系统中越来越常见，自动化工具通常将其评为无障碍，但在手动测试中给盲人作者带来了严重的可用性问题，而基于文本的编辑器、AI生成的图像描述和与屏幕阅读器使用相配套的培训提高了可用性和自主性。<sup>[22](https://arxiv.org/abs/2508.15045)</sup>

## References

1. [CMS Portal Introduction, Centers for Medicare & Medicaid Services](https://www.cms.gov/tra/Application_Development/AD_0250_Portal_Introduction.htm)
2. [Web hosting glossary, TechRadar](https://www.techradar.com/features/confused-by-cryptic-web-hosting-terms-weve-got-the-explanations-you-need)
3. [Traditional CMS vs. headless CMS: What's the difference?, TechTarget](https://www.techtarget.com/enterprise-software/feature/Traditional-CMS-vs-headless-CMS-Whats-the-difference)
4. [W3Techs, World Wide Web Technology Surveys](https://w3techs.com/?Sid=1)
5. [Version 0.70, WordPress.org Documentation](https://wordpress.org/documentation/wordpress-version/version-0-70/)
6. [Learn about WordPress origins and version history, WordPress.org Documentation](https://wordpress.org/documentation/article/learn-about-wordpress-and-version-history/)
7. [Evaluating the Headless CMS vs Traditional CMS performance (peer-reviewed comparison)](https://www.ejmanager.com/mnstemps/259/259-1716933315-REV.pdf)
8. [Ghost CMS flaw hijacked to target hundreds of websites with ClickFix attacks, TechRadar Pro](https://www.techradar.com/pro/security/ghost-cms-flaw-hijacked-to-target-hundreds-of-websites-with-clickfix-attacks-heres-how-to-stay-safe)
9. [DotNetNuke CMS hit by an XSS flaw, TechRadar Pro](https://www.techradar.com/pro/security/chaining-vulnerabilities-is-the-hallmark-of-a-sophisticated-attack-750-000-websites-must-be-patched-as-microsofts-popular-open-source-dotnetnuke-cms-hit-by-an-xss-flaw-that-allows-attackers-to-hijack-admin-sessions-and-take-over-entire-web-servers)
10. [What's New in WCAG 2.2, W3C Web Accessibility Initiative](https://www.w3.org/WAI/standards-guidelines/wcag/new-in-22/)
11. [Roles and Capabilities, WordPress.org Documentation](https://wordpress.org/documentation/article/roles-and-capabilities/)
12. [Revisions, WordPress.org Documentation](https://wordpress.org/documentation/article/revisions/)
13. [Workflows overview, Drupal.org documentation](https://www.drupal.org/docs/8/core/modules/workflows/overview)
14. [Introducing the GOV.UK publishing platform in detail, GOV.UK Technology blog](https://technology.blog.gov.uk/2016/07/08/introducing-the-gov-uk-publishing-platform-in-detail/)
15. [How the draft stack works, GOV.UK Developer Documentation](https://docs.publishing.service.gov.uk/manual/content-preview.html)
16. [Headless CMS vs. traditional CMS: the real tradeoffs for marketing teams, O3](https://www.o3world.com/insights/headless-cms-vs-traditional-cms-marketing-teams)
17. [Headless CMS vs. traditional CMS, Contentful](https://www.contentful.com/blog/headless-cms-benefits-versus-traditional-cms/)
18. [WordPress 7.0 "Armstrong", WordPress News](https://wordpress.org/news/2026/05/armstrong/)
19. [Plugin and themes auto-updates, WordPress.org Documentation](https://wordpress.org/documentation/article/plugins-themes-auto-updates/)
20. [Over 100 Bugs in a Row: Security Analysis of the Top-Rated Joomla Extensions, arXiv](https://arxiv.org/abs/2102.03131)
21. [Publishing accessible documents, GOV.UK](https://www.gov.uk/guidance/publishing-accessible-documents)
22. [Understanding Accessibility Needs of Blind Authors on CMS-Based Websites, arXiv](https://arxiv.org/abs/2508.15045)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Application software by domain

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/web-content-management-system

English original: https://www.edgepedia.org/web-content-management-system
