FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Releases · BookStackApp/BookStack · GitHub

Releases: BookStackApp/BookStack

BookStack v26.05.4

Choose a tag to compare

Filter
ssddanbrown released this 24 Aug 12:49
v26.05.4
cec78b1

Security Release

This is a security release to address a range of vulnerabilities:

  • Users could update attachments on pages they did not have permission to update.
  • Request endpoints for drawings could be misused to create cross-site-scripting scenarios.
  • Draft page endpoints could be misused to alter non-draft pages without needing edit permission for those pages.
  • Draft pages created by other users could appear in certain search result lists.
  • ZIP imports with certain content could lead to a remote-code-execution scenario.
  • Page visibility rules may not be updated in certain recycle-bin-related scenarios.

Updating is generally advised, but strongly so where untrusted users have general access to the instance.

If untrusted users do have access, especially edit level access, it's advised to double check image upload folders to ensure there's no unexpected non-image content.
On a typical Linux-based system installation, this could be done using the find command from the BookStack installation folder like so:

# Check the general "public" server space
find ./public/uploads -type f ! \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" -o -iname "*.webp" -o -iname "*.avif" -o -iname ".gitignore" -o -iname ".htaccess" \)

# Check the internal image storage space
find ./storage/uploads/images -type f ! \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" -o -iname "*.webp" -o -iname "*.avif" \)

A big thanks to the following researchers for responsibly reporting vulnerabilities which were addressed in this release:

Full List of Changes

  • Updated image serving with additional MIME-based content type check.
  • Updated PHP package versions.
  • Updated translations with the latest Crowdin changes.
  • Fixed issue where anchor links would be removed or be made invalid. (#6178)
  • Fixed issue where sftp links would be removed from content. (#6186)
  • Fixed lack of content validation when storing base64 drawing content.
  • Fixed lack of permission check on draft endpoints.
  • Fixed lacking content validation checks on book covers during ZIP imports.
  • Fixed missing update permission check on attachment API.
  • Fixed scenario where joint permission table would not be updated for chapter pages which are in the recycle bin.
  • Fixed search queries not filtering out drafts from other users.

BookStack v26.05.3

Choose a tag to compare

Filter
ssddanbrown released this 29 Jul 09:44
v26.05.3
e1cd322

Security Release

This is a security release to address a range of vulnerabilities:

  • External Authentication Use (OIDC/SAML2/LDAP) could potentially mismatch external authentication system users to BookStack users upon login, where unique IDs are very similar (same ID text but different casing, or accented characters).
  • The login form could be abused to use timing to gain information about if a user exists in the system. This was already limited by request rate-limits, but could still have assisted targeted scenarios.
  • Certain editor content could be used to load interactive content over file links when exported, which could then pose a risk after being exported in Windows environments which use NTLM.
  • API errors could include debug details by default, and therefore potentially expose some system details like file paths.
  • With our default PDF rendering option, certain content could be used to access/check for files on the BookStack host beyond the scope of what we'd expect.

Upgrading is generally advised, but more so for instances using OIDC, SAML2 or LDAP authentication.

Thanks to Tanner Marks (GitHub), Gurmandeep Deol (LinkedIn) and whale120 (Blog, X, Working with DEVCORE Internship Program) for responsibly reporting issues addressed in this release.

Full List of Changes

  • Updated PHP package versions.
  • Updated translations with the latest Crowdin changes.
  • Updated login with fake hash and random delay on failed login.
  • Updated allow list content filter to force the use of schemes.
  • Updated allow list content filter with smarter srcset attribute parsing.
  • Updated user external authentication ID queries, and database column collation, to ensure an exact match.
  • Updated API exception handler to follow a more controlled error message approach.
  • Fixed image delete API endpoint to avoid an error scenario.

BookStack v26.05.2

Choose a tag to compare

Filter
ssddanbrown released this 02 Jul 09:44
v26.05.2
fcb2d40

Security Release

This is a security release to address some edge case vulnerabilities related to URL filtering, redirect handling, and permission checking, while also updating dependencies to help prevent known potential vulnerabilities in those being exploited.

Upgrading is advised for instances with public access enabled, or for instances where untrusted users are able to edit content.

Thanks to Gurmandeep Deol (LinkedIn) and MFK25 for responsibly reporting issues addressed in this release.

Full List of Changes

  • Added Serbian language to language_select array. Thanks to @PolarniMeda. (#6153)
  • Updated PHP package versions.
  • Updated translations with the latest crowdin changes.
  • Updated content allow-filtering to consider protocols used in srcset attributes.
  • Updated URL filtering with a more thorough centralized utility class.
  • Updated comment delete action to also check comment visibility permissions.
  • Updated referring URL use with stronger source validation.
  • Updated translations with latest crowdin changes. (#6166)

BookStack v26.05.1

Choose a tag to compare

Filter
ssddanbrown released this 09 Jun 12:13
v26.05.1
f63a592

Security Release

This is a security release to address the following vulnerabilities:

  • Attachment requests could be manipulated to leak details/links/metadata (not content) of attachments which the user did not have permission to view.
  • The file:// protocol could be abused in some Windows-specific scenarios to auto-run requests with credential information when viewing exports.
    • This protocol is now filtered from interactive content.
  • The search system could be abused to cause errors and fill logs.

Upgrade is advised for instances with public viewing enabled, or where untrusted users have authenticated access.

Thanks to Stephen O. / Sakusen (Codeberg, Website), Gurmandeep Deol (LinkedIn), Rafael Castilho (X account) and Gabriel Duarte Guerra (GitHub) for responsibly reporting these issues.

Full List of Changes

  • Updated PHP package versions.
  • Updated translations with the latest Crowdin changes.
  • Updated content allow-filtering to only allow the file:// protocol on anchor hrefs, instead of in all dynamic content.
  • Updated attachment update handling to validate permissions before request content.
  • Fixed numeric handling issue in tag search when using non-standard numbers.

BookStack v26.05

Choose a tag to compare

Filter
ssddanbrown released this 28 May 11:41
v26.05
4aa629a

Links

Upgrade Notices

  • Folder Permissions - Due to some changes in how fonts are used for exports, after updating you may need to ensure that the storage/fonts folder (and all folders within that) are accessible & writable by the web-server. If you start seeing errors on PDF export after updating, it's likely this issue. See this page for guidance on setting permissions.
  • Revision Access - Revision access & visibility is now controlled separately to pages. In some cases, after upgrading, users may no longer be able to access revisions by default (for example, where users had access to view page content but had no role-level view permissions).

Full List of Changes

  • Added page contents view to page editor. (#6131, #4218)
  • Added API endpoints for browsing tags. (#6095, #5835)
  • Added custom font load handling for default PDF renderer. (#6109, #148, #719, #5770)
  • Added in-UI option to reset user multi-factor authentication methods. Thanks to @clauvaldez. (#6056)
  • Added hints to sort rule selection alongside empty lists. (#5967)
  • Added specific permission for revision viewing. (#6108, #4526)
  • Added new image and CSS CSP controls. Thanks to @Zhey-on. (#6071, #6033)
  • Added Thai language support. (#6105)
  • Updated codebase to meet PHPStan Level 4. (#6085)
  • Updated comment/description WYSIWYG editor to support inline code. (#6100, #6003)
  • Updated HTML to plain text conversion handling. (#6083)
  • Updated image upload handling to validate referenced page. (#6126)
  • Updated JavaScript packages. (#6090)
  • Updated module install command with usability improvements. (#6094, #6066)
  • Updated new WYSIWYG editor with a range of fixes. (#6119, #5631)
  • Updated translations with latest Crowdin changes. (#6084)
  • Fixed misaligned link attachment validation rules. (#6093)
  • Fixed non-ascii character issues in headers on PDF exports. Thanks to @alexwoo-awso. (#6069, #6107)

BookStack v26.03.5

Choose a tag to compare

Filter
ssddanbrown released this 21 May 13:02
v26.03.5
cfeb035

Security Release

This is a security release to address a brute-force based vulnerability related to multi-factor authentication, and to update project libraries to help avoid potential vulnerabilities that have been reported in those.

Upgrade is generally advised, but strongly so where multi-factor authentication is used & considered as a critical layer of defense.

Thanks to Stephen O. / Sakusen (Codeberg, Website) for responsibly reporting these issues.

Full List of Changes

  • Updated PHP package versions.
  • Updated MFA verification routes with rate limiting.

BookStack v26.03.4

Choose a tag to compare

Filter
ssddanbrown released this 30 Apr 10:43
v26.03.4
d1bde2f

Security Release

This is a security release to improve attachment related permission checks, and URL validation for webhooks.

Upgrade is advised if you allow untrusted users to delete attachments, or if untrusted users have permission to create webhooks on instances which make use of the ALLOWED_SSR_HOSTS BookStack env file option.

Thanks to 404_pkj (GitHub) and naruhodoowl (GitHub) for responsibly reporting these issues.

Full List of Changes

  • Updated PHP package versions.
  • Updated attachment actions to align page access check.
  • Updated URL validation in webhooks to help prevent escaping workarounds.
  • Fixed issue where exact search term negation would lead to no results. (#6121)

BookStack v26.03.3

Choose a tag to compare

Filter
ssddanbrown released this 05 Apr 21:46
v26.03.3
82ef735

Links

Full List of Changes

This release contains the following fixes and changes:

  • Updated translations with latest Crowdin changes. (#6067)
  • Updated PHP dependency versions.

BookStack v26.03.2

Choose a tag to compare

Filter
ssddanbrown released this 23 Mar 12:00
v26.03.2
508cf0a

Security Release

This is a security release to address a vulnerability where the registration form could be manipulated to gain access to additional roles.

Upgrade is very strongly advised if your instance has user registration enabled.

Thanks to Kwonyong Lee (LinkedIn) for responsibly reporting this issue.
Also thanks to Boustani OSAMA (LinkedIn) for also reporting this before public announcement.

Full List of Changes

  • Updated user creation to only use validated input from registration.
  • Updated PHP package versions.
  • Updated translations with latest Crowdin changes. (#6064)
  • Updated PHP_CodeSniffer repository link. Thanks to @rodrigoprimo. (#6060)
  • Updated WYSIWYG editors to have consistent collapsible block double click behavior. (#6059)

BookStack v26.03.1

Choose a tag to compare

Filter
ssddanbrown released this 17 Mar 11:03
v26.03.1
7111e08

Security Release

This is a security release to address a vulnerability where page content, which should be hidden by permissions, could be visible during certain markdown exports.

We strongly advise that you update your instance if you use permissions to control page visibility.

Thanks to Ghufran Raza Khan (GitHub Profile, LinkedIn Profile) for responsibly reporting this issue.
Also thanks to Alex Dan (GitHub Profile) for also reporting this before public announcement.

Full List of Changes

  • Updated queries used for pages in markdown exports.
  • Updated handling of filenames for file serving.
  • Updated PHP package versions.

Back | FazBrowse Home | New Git URL