Skip to content

RailsPress 1.4.4

Latest

Choose a tag to compare

@aviflombaum aviflombaum released this 18 Aug 21:59
3c91306

Added

  • SSRF-safe remote images: Added ssrf_filter as an engine dependency for remote post header-image imports.

Security

  • Import upload containment: Store admin uploads under server-generated names and canonicalize cleanup targets before removing files.
  • ZIP image containment: Reject absolute, traversal, and symlinked image references that resolve outside the extraction directory.
  • Remote image destination validation: Reject loopback, private, link-local, reserved, and other unsafe IPv4 and IPv6 destinations. Remote image redirects are rejected.
  • Dependency maintenance: Updated the development lockfile to patched rails-html-sanitizer 1.7.1 and json 2.21.2 releases.

Upgrade notes

  • Run bundle update railspress-engine.
  • Remote post images must resolve directly to a public HTTP or HTTPS destination. Redirecting image URLs are no longer accepted.
  • No migrations, initializer changes, or host application code changes are required.