Ghost/ghost/core
Naz 22738b1b50 🔒 Disabled editable relations by default
refs https://github.com/TryGhost/Ghost/security/advisories/GHSA-9gh8-wp53-ccc6
refs https://github.com/TryGhost/Toolbox/issues/465

- Bookshelf relations allows us to edit relational records by default, which was used liberally in the codebase.
- Not having a clear track record of editable relations left the model layer prone to triggering unwanted nested saves and created a vulnerability where members were able to edit newsletter settings.
- With explicit editable relations it's easier to keep track of relations having editable access to related records. Makes the relational data modification pattern safer to use too.
- Anyone running 5.x should update to 5.24.1

Credits: Dave McDaniel and other members of [Cisco Talos](https://talosintelligence.com/vulnerability_reports)
2022-11-28 18:39:39 +07:00
..
content 🎨 Updated Casper to v5.4.1 2022-11-18 15:00:49 +00:00
core 🔒 Disabled editable relations by default 2022-11-28 18:39:39 +07:00
test 🔒 Disabled editable relations by default 2022-11-28 18:39:39 +07:00
.c8rc.e2e.json Introduced separate config for e2e tests 2022-11-17 09:58:39 +07:00
.c8rc.json Introduced separate config for e2e tests 2022-11-17 09:58:39 +07:00
.eslintignore Updated .eslintignore list for core 2022-10-10 15:12:52 +07:00
.eslintrc.js Updated Eslint ECMAScript compatibility to 2022 2022-08-09 15:51:40 +02:00
.gitignore Added copied release assets into .gitignore 2022-08-10 14:19:16 +02:00
.npmignore Cleaned up npmignore entries for Casper 2022-09-01 08:22:01 +01:00
config.development.json Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
ghost.js Added browser-based testing framework 2022-11-22 14:12:34 +00:00
index.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
jsconfig.json Deleted reference to core/admin 2022-08-03 16:28:41 +02:00
loggingrc.js Switched to original version for metrics 2022-08-04 19:22:57 +02:00
MigratorConfig.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
package.json v5.24.0 2022-11-25 15:00:47 +00:00
playwright.config.js Use headless mode by default for Playwright tests 2022-11-28 10:52:38 +00:00