Skip to content

Release 26.11.02-01

Choose a tag to compare

@dotCMS-Machine-User dotCMS-Machine-User released this 02 Nov 16:37

dotCMS 26.11.02-01 tightens security across Velocity rendering, user and role management, Push Publishing, and the maintenance tools. It also adds a template-usage check before containers are deleted, and retires the legacy Containers and Categories screens.

Caution

Rollback Warning: This release contains an irrevertable change that is non-trivial to rollback from.

  • Containers: The legacy Containers portlet and the code only it used are removed, so rolling back means restoring a retired portlet and its server-side dependencies. [#38173]

Features

  • Deleting a container now warns about the templates that use it, both in the Containers portlet and in the delete API, and the new GET /api/v1/containers/dependencies endpoint reports template usage for up to 100 containers per call. [#38173]

Fixes

  • When Velocity renders content fields (GraphQL render:true, dotJSON, widgets), view tools are now scoped to the caller and the content author, and $config only returns VELOCITY_PUBLIC_* properties, a small set of built-in template keys, and keys allowed in velocity.configtool.allowed.keys. [#38085]
  • $dotsecrets now checks the Scripting Developer role on the last modifier or the request user, so workflow actions that render Velocity without a user no longer read Velocity secrets. [#38344]
  • Folder scripts served by /api/vtl/{folder} and /api/js/{folder} run only when they were last saved by a Scripting Developer or a CMS Administrator, and answer 403 otherwise. [#38350]
  • $xslttool now uses secure XML processing on every runtime, and reading the source XML from a remote URL is off by default behind FEATURE_FLAG_XSLT_REMOTE_XML. [#38367]
  • Passwords set through POST /api/v1/users and PUT /api/v1/users are now checked against the password policy and stored hashed, the same way the My Account endpoint handles them. [#38288]
  • Checking whether another user holds a set of roles now requires the role membership privilege, while any back-end user can still check their own roles. [#38311]
  • The cache, Redis, JVM, thread and session maintenance tools now require a CMS Administrator, and System Info masks more sensitive values. [#38316]
  • The legacy Links screen and save-and-publish on the edit screens now check PUBLISH permission before making a menu link live. [#38362]
  • When a Push Publishing bundle arrives, users that already exist on the receiver are left unchanged, and new users are created with a randomly generated password. [#38253]
  • Content pushed without relationships (for example, with Only Selected Items) is now related only to content that already exists on the receiver, and the new PUSH_PUBLISHING_SYNC_RELATIONSHIPS receiver property opts in to syncing relationships. [#38172]
  • Content counts now apply the same permission and secondary-category clauses as the matching search, so paginated totals no longer exceed the rows returned. [#38360]
  • Content queries that end in an unbalanced backslash escape no longer break the permission clauses appended to them. [#38285]
  • GET /api/widget/id/{identifier} now answers 404 instead of 500 when no readable widget version exists. [#38347]
  • The legacy edit content screen now handles binary field values the same way the REST content API does, accepting uploaded temp files instead of content inodes. [#38310]
  • The Menu Link Parent Window target now stores _parent, and existing links that hold _top stay selectable under a new Top Window option. [#36727]

Deprecations, End of Life & Reminders

  • Breaking: An API token's JWT is now shown only once, when the token is created, and GET /api/v1/apitoken/{tokenId}/jwt has been removed and now answers 404. Keep the JWT returned at creation, or request a new token. [#38064]
  • The legacy Container Manager portlet (containers-legacy) is retired in favor of the Angular Containers portlet. [#38173]
  • The legacy category screens and the /categoriesServlet endpoint are removed, so manage categories in the Angular Categories portlet; the legacy content editor's category dialog now reads from /api/v1/categories. [#38315]
  • Reading XSLT source XML from a remote URL is deprecated and now disabled unless FEATURE_FLAG_XSLT_REMOTE_XML is enabled. [#38367]

Infrastructure & Security

  • Values read back from Redis are now deserialized only when they belong to classes the caches store, and any other value is treated as a cache miss. [#38359]
  • Upgraded log4j to 2.25.5 and jsoup to 1.23.2 in core and in the Tika bundle. [#38369]
  • Upgraded the bundled TinyMCE to 7.9.3, which picks up a patched DOMPurify (3.2.6). [#38045]
  • Removed unused legacy libraries, a stale frontend manifest, and leftover OS certificate files from the dotCMS image. [#37974]
  • Multipart uploads are now handled the same way whatever the case of the Content-Type header, and temp file names from uploads are sanitized and confined to the upload directory. [#38214]