Ghost/ghost/core
Naz 60d066b243
🔒 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:40:26 +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:40:26 +07:00
test 🔒 Disabled editable relations by default 2022-11-28 18:40:26 +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
.eslintrc.js
.gitignore
.npmignore
config.development.json
ghost.js Added browser-based testing framework 2022-11-22 14:12:34 +00:00
index.js
jsconfig.json
loggingrc.js
MigratorConfig.js
package.json v5.24.0 2022-11-25 15:00:47 +00:00
playwright.config.js Fixed PlayWright config 2022-11-24 18:16:43 +00:00