The term cartesian category can mean either of
The first of these is the traditional meaning, while the second is advocated in the Elephant. It is probably best to avoid the ambiguous term.
Compare locally cartesian category, which is unambiguous. (There is also some discussion of the issue there.)