Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BookStackApp/BookStack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0b6b667
Choose a base ref
...
head repository: BookStackApp/BookStack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6ca187d
Choose a head ref
  • 12 commits
  • 36 files changed
  • 1 contributor

Commits on Oct 14, 2026

  1. Permissions: Updated relation restriction to filter out deleted entities

    Removes results related to entities which are in the recycle bin.
    Removed entity has query from tag repo as that's now covered by this.
    Removed extra permission application function as its now redundant.
    Added tests to cover.
    
    Thanks to Nicol (waterhunter2000) for responsibly reporting.
    ssddanbrown committed Oct 14, 2026
    Configuration menu
    Copy the full SHA
    7ae9a4e View commit details
    Browse the repository at this point in the history
  2. ZIP Imports: Added total file use validation

    During validation, added tracking of each time a file reference is used,
    so that the total use of files can be validated to help prevent heavy
    DoS scenarios.
    
    Thanks to VG for responsibly reporting this scenario
    ssddanbrown committed Oct 14, 2026
    Configuration menu
    Copy the full SHA
    2de4063 View commit details
    Browse the repository at this point in the history
  3. Users: Refresh remember me token on password change

    Refreshes the remember me token on password change, so that existing
    remember-me sessions are dropped.
    This helps invalidate existing remember-me access in scenarios where
    passwords are being changed after unauthorized access.
    Added test to cover.
    
    Thanks to Semilore Osofisan for responsibly reporting this scenario.
    ssddanbrown committed Oct 14, 2026
    Configuration menu
    Copy the full SHA
    e07a300 View commit details
    Browse the repository at this point in the history
  4. SAML2: Removed the wide CSRF exception for SAML routes

    There's only one route that should ignore CSRF, and that's already
    marked to not use the CSRF middlware in the routes definition.
    Helps prevent potential CSRF based logout from subdomains (same-sites).
    
    Thanks to The Xora team for responsibly reporting.
    ssddanbrown committed Oct 14, 2026
    Configuration menu
    Copy the full SHA
    f239524 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2026

  1. Attachments: Made view check for UI functions consistent

    Ensures proper checking of page-based visibility, ensuring that the
    draft status of the related page is also considered when checking view
    ability.
    
    Thanks to Huzaifa Dal for responsibly reporting.
    ssddanbrown committed Oct 15, 2026
    Configuration menu
    Copy the full SHA
    fcadecc View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2026

  1. Configuration menu
    Copy the full SHA
    1543f46 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2026

  1. Images: Updated access permissions to align with API

    Uses the same access/visibilty check via query as the API,
    and prevents actions when page is in the recycle bin.
    Adds tests to cover access.
    
    Thanks to CayCon for reporting.
    Thanks to VulnCheck for coordinating reporting.
    ssddanbrown committed Nov 5, 2026
    Configuration menu
    Copy the full SHA
    926e16a View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2026

  1. Conversion: Ensured handling of items in the recycle bin

    Updates book/chapter conversion to ensure that child items in the
    recycle bin are handled & migrated instead of being deleted along
    with their old container/parent.
    
    Thanks to Tanna Zu for reporting.
    ssddanbrown committed Nov 7, 2026
    Configuration menu
    Copy the full SHA
    c0794b3 View commit details
    Browse the repository at this point in the history
  2. Revisions: Filtered previous diffing to version revisions

    Prevents wrong diffing against user draft versions.
    
    Thanks to Dickson Wu (SEAL & CertiK) for reporting.
    ssddanbrown committed Nov 7, 2026
    Configuration menu
    Copy the full SHA
    323990a View commit details
    Browse the repository at this point in the history
  3. Images: Added tests to check draft access scenarios

    Extra checks to address prior holes, which were covered
    by prior commit 926e16a
    
    Thanks to Zeng Yu for reporting.
    ssddanbrown committed Nov 7, 2026
    Configuration menu
    Copy the full SHA
    4fec062 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2026

  1. Attachments: Removed use of EntityExistsRule

    Updated validation to instead check for a valid integer, so the existance
    if performed as part of the visibility check, preventing different
    responses between non-existing and non-visible, so that it can't be used
    to inidcate non-visible pages.
    
    Added tests to cover.
    Thanks to Efe Çam for reporting.
    ssddanbrown committed Nov 8, 2026
    Configuration menu
    Copy the full SHA
    3d859aa View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2026

  1. Configuration menu
    Copy the full SHA
    6ca187d View commit details
    Browse the repository at this point in the history
Loading