Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.15.8

Payload CMS Release: Release 1.15.8

Tag Name: v1.15.8

Release Date: 10/8/2023

Payload CMS LogoPayload CMS

Payload CMS is a modern, self-hosted headless content management system built with TypeScript, Node.js, and MongoDB. It's designed specifically for developers who want full control over their content management system while maintaining a powerful admin interface for content editors.

TL;DR

Payload CMS v1.15.8: Security Enhancement for User Authentication

This minor release focuses on securing the user response from the /me authentication route, ensuring sensitive user data is properly protected. The update also includes several dependency bumps to address potential security vulnerabilities, particularly updating PostCSS across multiple examples from 8.4.27/8.4.28 to 8.4.31. Documentation improvements have been made to various README files, including updates to login information in the custom-server example.

Highlight of the Release

    • Security enhancement for the /me authentication route to protect sensitive user data
    • Multiple dependency updates to address security vulnerabilities, particularly PostCSS across examples
    • Documentation improvements in various README files

Migration Guide

No migration steps are required for this release. This is a drop-in replacement that enhances security without breaking changes.

To update to v1.15.8, simply run:

npm install [email protected]
# or
yarn add [email protected]

Upgrade Recommendations

This release contains an important security fix for the /me authentication route and updates several dependencies to address security vulnerabilities.

Recommendation: All users should upgrade to v1.15.8 as soon as possible, especially if you're using authentication in your Payload CMS implementation.

The upgrade is straightforward with no breaking changes, making it a low-risk update that improves your application's security posture.

Bug Fixes

Security Fix for User Authentication

The primary bug fix in this release addresses a security concern with the /me authentication route. Previously, this route may have exposed sensitive user data that should have been protected. The fix ensures that user responses are properly secured, preventing potential data leakage.

fix: secures the user response from the me auth route (#3409)

This enhancement helps protect sensitive user information and improves the overall security posture of Payload CMS.

New Features

No significant new features were added in this release. This update primarily focuses on security improvements and dependency updates.

Security Updates

Enhanced User Data Protection

This release includes an important security fix that secures the user response from the /me authentication route (PR #3409). This change ensures that sensitive user data is properly protected when retrieving authenticated user information.

Dependency Security Updates

Multiple dependency updates were included to address security vulnerabilities:

  • PostCSS updated from 8.4.27/8.4.28 to 8.4.31 across multiple example projects
  • GraphQL updated from 16.8.0 to 16.8.1
  • Semver updated in various example projects
  • Word-wrap updated from 1.2.3 to 1.2.5 in example projects

These updates help mitigate potential security risks in the dependency chain.

Performance Improvements

No specific performance improvements were included in this release. The focus was on security enhancements and dependency updates.

Impact Summary

This release primarily impacts the security of user data in Payload CMS applications. By securing the /me authentication route, it prevents potential exposure of sensitive user information that should be protected.

The security improvements are particularly important for applications that handle sensitive user data or have strict privacy requirements. While the changes are focused on security rather than functionality, they represent an important enhancement to Payload's data protection capabilities.

The dependency updates across various example projects also help mitigate potential security vulnerabilities, ensuring that developers using these examples as starting points have more secure foundations.

Overall, this is a maintenance and security-focused release that doesn't introduce new features or breaking changes but strengthens the platform's security posture.

Full Release Notes

1.15.8 (2023-10-08)

Bug Fixes

  • Secures the user response from the me auth route (#3409) (26939a3)

Statistics:

File Changed23
Line Additions3,779
Line Deletions3,574
Line Changes7,353
Total Commits21

User Affected:

  • Benefit from improved security in the `/me` authentication route
  • Should update their projects to ensure user data is properly protected
  • Will have access to updated documentation in various README files

Contributors:

PatrikKozakJarrodMFleschpetipoisjacobsfletchdependabot[bot]calvincchongdenolfe