Repository navigation
Commit 40b989b
authored
All advisories 2026 q4 m1 (#5663)
* Add failing test for GHSA-5gc8-frw3-3vqm
* Add failing test for GHSA-c9rx-x947-fp3h
* sanitize-html: bound recursion into discarded iframe fallback and carry nesting depth (GHSA-c9rx-x947-fp3h)
* Use unguessable file names for export downloads (GHSA-5gc8-frw3-3vqm)
* Add failing test for GHSA-rqgm-cfrp-4hx8
* Add failing test for GHSA-7jg5-frgc-c67w
* Add failing test for GHSA-5m22-7pfq-vp65
* Add failing test for GHSA-rw26-wwfc-9wvm
* Escape widget style wrapper attributes and reject unsafe style values (GHSA-7jg5-frgc-c67w)
* Ignore sort keys and field filters hidden by publicApiProjection in public REST API requests (GHSA-rqgm-cfrp-4hx8)
* Require the import owner for clean-export and a login for override-duplicates (GHSA-rw26-wwfc-9wvm)
* Require publish permission for published documents written by import (GHSA-5m22-7pfq-vp65)
* Reword GHSA-5m22-7pfq-vp65 changeset
* Add failing test for GHSA-vmgj-9cwm-cf3h
* Add failing test for GHSA-vh56-5m88-39rq
* Require the whole color field value to be a valid color (GHSA-vmgj-9cwm-cf3h)
* Add failing test for GHSA-jf5h-36mg-rp6x
* Remove viewPermission fields from all page REST responses, including embedded _ancestors and _children (GHSA-vh56-5m88-39rq)
* Add failing test for GHSA-rqgm-cfrp-4hx8: projection of embedded ancestors and children
* Bind import duplicate replacement to the server-side analysis and authorize the actual target (GHSA-jf5h-36mg-rp6x)
* Limit embedded ancestors and children to publicApiProjection in anonymous page REST requests (GHSA-rqgm-cfrp-4hx8)
* Add failing test for GHSA-f66c-mpj2-3r8h
* Add failing test for GHSA-9g7p-m758-rp72
* Require editing permission for the slug-taken route (GHSA-f66c-mpj2-3r8h)
* Limit import archive extraction and clean up after failed imports (GHSA-9g7p-m758-rp72)
* Add failing test for pending import archive exposure (GHSA-5gc8-frw3-3vqm)
* Add failing test for related-doc forbidden fields (GHSA-vh56-5m88-39rq)
* Test that public API search results stay sorted by search quality (GHSA-rqgm-cfrp-4hx8)
* Add failing core tests for GHSA-5m22-7pfq-vp65
* Encrypt pending import archives kept in uploadfs (GHSA-5gc8-frw3-3vqm)
* Revert encryption of pending import archives
An unguessable name is enough here, see the following commits.
* Update failing test for pending import archive names (GHSA-5gc8-frw3-3vqm)
* Remove viewPermission fields from related documents in page and piece REST responses (GHSA-vh56-5m88-39rq)
* Cover anonymous public API access to related documents (GHSA-vh56-5m88-39rq)
* Use unguessable names for pending import archives (GHSA-5gc8-frw3-3vqm)
* Honor publishRole and the document's own mode for published edits in core (GHSA-5m22-7pfq-vp65)
* Add failing test for big upload chunk ids (GHSA-5gc8-frw3-3vqm)
* Use unguessable ids for big upload chunks (GHSA-5gc8-frw3-3vqm)
* Add failing test for forbidden fields in REST write responses (GHSA-vh56-5m88-39rq)
* Add failing test for GHSA-rqgm-cfrp-4hx8: projection of related documents
* Use generateId for export names; revert pending archive and big upload changes (GHSA-5gc8-frw3-3vqm)
cuid2 3.x already draws on the platform's cryptographically secure random
number generator, so pending import archive names and big upload chunk ids
were already unguessable.
* Add failing test for GHSA-rqgm-cfrp-4hx8: projection of related pages
* Remove viewPermission fields from page and piece REST write responses (GHSA-vh56-5m88-39rq)
* Add failing test for GHSA-rqgm-cfrp-4hx8: projection of related images
* Limit related documents to the publicApiProjection of their own type in public REST API responses (GHSA-rqgm-cfrp-4hx8)
* Add failing test for viewPermission fields in version change lists (GHSA-vh56-5m88-39rq)
* Leave viewPermission fields out of version change lists (GHSA-vh56-5m88-39rq)
* Add failing tests for viewPermission fields in version change counts and highlights (GHSA-vh56-5m88-39rq)
* Leave viewPermission fields out of version change counts and highlights (GHSA-vh56-5m88-39rq)
* Revert limiting related documents to their own type's publicApiProjection
Relationships only appear in public API responses when the developer lists
them in publicApiProjection, and their fields can be limited with the
relationship's own projection.
* Remove inaccurate mitigating factor from changeset (GHSA-5gc8-frw3-3vqm)
* Compare public API search order with the database's own ranking (GHSA-rqgm-cfrp-4hx8)
* Leave mode and publish authorization of replaced documents to core (GHSA-jf5h-36mg-rp6x)
Writes go through core with permission checks on, which enforces publishRole,
and archives with inconsistent modes are rejected when they are read. Keep only
the import-specific type check on the replaced document.
* Fix GHSA-7jg5-frgc-c67w at the attribute sink only
Drop the render-time style value and class token filtering and the
getWidgetElements id escaping; escaping in getWidgetAttributes covers it.
* Check the login for clean-export once, in its route (GHSA-rw26-wwfc-9wvm)
* Restore upstream handling of tar entry types and unsupported uploads (GHSA-9g7p-m758-rp72)
The limits and the cleanup wrapper already cover both.
* Record test versions in distinct milliseconds so their order does not depend on the database (GHSA-vh56-5m88-39rq)
* Remove viewPermission fields once, in the shared REST API route wrapper (GHSA-vh56-5m88-39rq)
* Trust the request mode in core, enforce publishRole in core only, keep import's mode validation (GHSA-5m22-7pfq-vp65)1 parent 97c8a28 commit 40b989b
52 files changed
Lines changed: 4747 additions & 128 deletions
File tree
- .changeset
- packages
- apostrophe
- modules/@apostrophecms
- area
- color-field
- doc-type
- document-versions
- doc
- module
- page
- permission
- piece-type
- styles/lib
- test
- modules/render-note-widget/views
- import-export
- i18n
- lib
- formats
- methods
- test
- sanitize-html
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments