I mean, that's simply an incorrect definition and not what anyone means when they use the word, speaking as a senior engineer working on web applications over the last 10 years. Such a broad definition is practically meaningless since it encompasses pretty much everything in programming.
A database is 100% not a "framework", it is a software application that allows clients to retrieve data by supplying queries in a dedicated DSL.
cdnjs is also decidedly not a framework, nor is any other CDN. CDNs are an infrastructural component in networking that allows content to be cached in servers that are geographically distributed over large distances in order to reduce the effects of network transmission time (since content can be served from servers closer to the client). It has very little to do with programming.
A framework is a library (or possibly, set of related libraries) in a programming language that aims to be very "batteries-included", insofar as the programmer gives up precise control over the program they are creating in exchange for having many commonly-needed things for the task (typically, SPAs or web servers) already done for them. The reason I said it's perhaps ill-defined as a word is that the line between what counts as a library and what counts as a framework is a bit blurry.