Ghost/ghost
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
..
adapter-manager
admin Rename column to Sent on Dashboard (#15883) 2022-11-28 11:22:35 +04:00
api-framework
api-version-compatibility-service
audience-feedback Update dependency bson-objectid to v2.0.4 2022-11-24 11:24:07 +07:00
bootstrap-socket
constants
core 🔒 Disabled editable relations by default 2022-11-28 18:39:39 +07:00
custom-theme-settings-service
data-generator
domain-events
email-analytics-provider-mailgun
email-analytics-service
email-content-generator
email-events Updated dev dependency to use pinned version 2022-11-24 13:58:12 +07:00
email-service Update dependency bson-objectid to v2.0.4 2022-11-24 11:24:07 +07:00
email-suppression-list
express-dynamic-redirects
extract-api-key
html-to-plaintext
job-manager
link-redirects Update dependency bson-objectid to v2.0.4 2022-11-24 11:24:07 +07:00
link-replacer
link-tracking Update dependency bson-objectid to v2.0.4 2022-11-24 11:24:07 +07:00
magic-link
mailgun-client
member-attribution
member-events
members-api 🔒 Disabled editable relations by default 2022-11-28 18:39:39 +07:00
members-csv
members-events-service
members-importer
members-ssr
minifier Update dependency terser to v5.16.0 2022-11-24 19:01:01 +00:00
mw-api-version-mismatch
mw-cache-control
mw-error-handler Renamed mw-error-handler test file to match lib 2022-11-23 21:49:40 +00:00
mw-session-from-token
mw-update-user-last-seen
mw-vhost
oembed-service
offers Update dependency bson-objectid to v2.0.4 2022-11-24 11:24:07 +07:00
package-json
payments
portal Add suppression modal to Portal 2022-11-24 13:58:27 +04:00
referrers
security
session-service
settings-path-manager
staff-service
stats-service
stripe
tiers Update dependency bson-objectid to v2.0.4 2022-11-24 11:24:07 +07:00
update-check-service
verification-trigger
version-notifications-data-service