p PatchFirst

PatchFirst · Latest vulnerabilities

ruby stack vulnerabilities · Page 5

Vulnerabilities published for ruby in the last 30 days: 53. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 1143

  1. CVE-2026-73492

    Low · CVSS 2.3EPSS 0.39%Fix available

    Loofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character references without semicolons

    Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.25.0 until 2.25.2, Loofah::HTML5::Scrub.allowed_uri? does not reject javascript: or vbscript: URIs whose scheme is split by semicolon-less numeric character references such as &#58, &#9, &#10, or &#13. CGI.unescapeHTML leaves these references encoded, so allowed_uri? reports the URL safe even though a browser decodes an encoded colon or strips encoded whitespace and executes the resulting URI scheme. This issue affects only callers that pass HTML-encoded strings directly to allowed_uri?; Loofah's default sanitize()

    • Update to 2.25.2
    • Update to 2.25.2-1
    Published Updated
  2. CVE-2026-73491

    Low · CVSS 2.3EPSS 0.39%Fix available

    Loofah `allowed_uri?` does not detect `javascript:` URIs split by named whitespace character references

    Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.25.0 until 2.25.2, Loofah::HTML5::Scrub.allowed_uri? does not reject javascript: URIs whose scheme is split or prefixed with the HTML5 named whitespace character references 	 or 
. CGI.unescapeHTML leaves those references intact, so allowed_uri? reports the URL safe even though a browser decodes and strips the tab or line feed and executes the resulting javascript: URL. This issue affects only callers that pass HTML-encoded strings directly to allowed_uri?; Loofah's default sanitize() path is not affecte

    • Update to 2.25.2
    • Update to 2.25.2-1
    Published Updated
  3. CVE-2026-73490

    Medium · CVSS 4.7EPSS 0.3%Fix available

    Loofah: SVG `href` attribute bypasses local-reference restriction

    Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.2, Loofah's HTML5 sanitizer applies its local-reference restriction only to the xlink:href attribute on SVG use and feImage elements, while browsers also accept the plain href attribute. A crafted sanitized SVG can therefore reference an arbitrary same-origin external document; use may render external SVG content containing scripts or other dangerous content, and feImage may load external images for tracking. Applications that sanitize user-supplied SVG with Loofah's default allowlist are affected. This issue

    • Update to 2.25.2
    • Update to 2.25.2-1
    Published Updated
  4. CVE-2026-73427

    Low · CVSS 2.1EPSS 0.57%Fix available

    Trix: XSS via JSON deserialization bypass in drag-and-drop (Level0InputController)

    Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Prior to 2.1.18, Trix is vulnerable to cross-site scripting when a crafted application/x-trix-document JSON payload is dropped into an editor using the fallback Level0InputController, such as an embedded WebView without Input Events Level 2 support. The StringPiece.fromJSON method trusts href attributes from the JSON payload without sanitization, allowing a draggable element containing a javascript: URI to bypass DOMPurify sanitization and inject executable JavaScript into the DOM. Exploitation requires the victim to drag and drop attacker-controlled content, and se

    • Update to 2.1.18
    Published Updated
  5. CVE-2026-71847

    High · CVSS 8.7EPSS 0.43%Fix available

    Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams

    Ruby JSON is a JSON implementation for Ruby. From 2.20.0 until 2.21.2, Ruby's JSON native C extension clears the consumed JSON::ResumableParser input buffer but leaves state.start, state.cursor, and state.end pointing into released storage. When partial_value reconstructs an incomplete object containing duplicate keys, the duplicate-key warning path calls cursor_position, which dereferences those stale pointers. This results in a heap-use-after-free and can terminate the Ruby process. An attacker who can supply JSON stream data to an application using JSON::ResumableParser may cause process termination when the application calls partial_value

    • Update to 2.21.2
    • Update to 2.21.2+dfsg-1
    Published Updated
  6. CVE-2026-45378

    High · CVSS 7.5EPSS 0.42%Fix available

    Decidim: Verification documents can be downloaded through reusable links

    Decidim is a participatory democracy framework. Prior to 0.30.9, from 0.31.0 before 0.31.5, and in 0.32.0.rc1 before 0.32.0.rc2, the identity-document verification admin UI embeds verification_attachment blobs through reusable signed Active Storage disk URLs, allowing anyone who obtains a URL to download the scanned document without an authenticated Decidim session until the signature expires. Verification-document images are rendered with variant_url(...), which produces signed /rails/active_storage/disk/... links instead of routing the file through an authorization-checking controller. Because Decidim configures Active Storage service URLs

    • Update to 0.30.9
    • Update to 0.31.5
    • Update to 0.32.0
    Published Updated
  7. CVE-2026-45573

    Medium · CVSS 6.4EPSS 0.26%Fix available

    Decidim: Push subscriptions can be abused for server-side requests

    Decidim is a participatory democracy framework. Prior to 0.30.9, from 0.31.0 before 0.31.5, and in 0.32.0.rc1 before 0.32.0.rc2, when VAPID delivery is enabled, the notification subscription flow stores a client-supplied push endpoint without validating that it belongs to an approved push service, and SendPushNotification later passes that endpoint to WebPush.payload_send, allowing an authenticated user to create stored, mostly blind server-side requests to arbitrary reachable HTTPS endpoints. This issue is fixed in versions 0.30.9, 0.31.5, and 0.32.0.rc2.

    • Update to 0.30.9
    • Update to 0.31.5
    • Update to 0.32.0
    Published Updated
  8. CVE-2026-45572

    Medium · CVSS 4.8EPSS 0.25%Fix available

    Decidim: HTML content blocks allow stored script execution

    Decidim is a participatory democracy framework. Prior to 0.30.9, from 0.31.0 before 0.31.5, and in 0.32.0.rc1 before 0.32.0.rc2, an administrator with landing-page editing privileges can store arbitrary HTML and JavaScript in an HTML content block, which Decidim::ContentBlocks::HtmlCell#html_content renders without sanitization, causing the script to execute in visitors' browsers. This issue is fixed in versions 0.30.9, 0.31.5, and 0.32.0.rc2.

    • Update to 0.30.9
    • Update to 0.31.5
    • Update to 0.32.0
    Published Updated
  9. CVE-2026-45415

    Medium · CVSS 6EPSS 0.43%Fix available

    Decidim: CSV census record endpoints improper authorization

    Decidim is a participatory democracy framework. Prior to 0.30.9, from 0.31.0 before 0.31.5, and in 0.32.0.rc1 before 0.32.0.rc2, the /admin/csv_census/census_logs record-management endpoints do not enforce full administrator authorization before rendering or mutating Decidim::Verifications::CsvDatum, allowing a participant manager to create, alter, or remove census records. This issue is fixed in versions 0.30.9, 0.31.5, and 0.32.0.rc2.

    • Update to 0.30.9
    • Update to 0.31.5
    • Update to 0.32.0
    Published Updated
  10. CVE-2026-45414

    High · CVSS 8.5EPSS 0.45%Fix available

    Decidim: JWT-backed authentication can be replayed across organizations

    Decidim is a participatory democracy framework. Prior to 0.31.5 and in 0.32.0.rc1 before 0.32.0.rc2, JWT-backed API authentication is not bound to the organization selected by the current host, allowing a JWT issued for one tenant to be replayed against another tenant’s API to read participantDetails data and reach the proposal.answer mutation path. This issue is fixed in versions 0.31.5 and 0.32.0.rc2.

    • Update to 0.31.5
    • Update to 0.32.0
    Published Updated
  11. CVE-2026-45377

    Medium · CVSS 6.5EPSS 0.45%Fix available

    Decidim: Private exports can be downloaded through reusable links

    Decidim is a participatory democracy framework. Prior to 0.30.9, from 0.31.0 before 0.31.5, and in 0.32.0.rc1 before 0.32.0.rc2, the normal download_your_data flow requires the requester to be logged in as the export owner, but the resulting Active Storage blob redirect URL can be replayed without authentication by anyone who obtains it. This is because Decidim::DownloadYourDataController#download_file authenticates the export owner but redirects to a signed Active Storage blob URL that is no longer bound to the owner session. This issue is fixed in versions 0.30.9, 0.31.5, and 0.32.0.rc2.

    • Update to 0.30.9
    • Update to 0.31.5
    • Update to 0.32.0
    Published Updated
  12. CVE-2026-45376

    Medium · CVSS 5.5EPSS 0.6%Fix available

    Decidim: Admin user search allows SQL injection through similarity-based sorting

    Decidim is a participatory democracy framework. Prior to 0.30.9, from 0.31.0 before 0.31.5, and in 0.32.0.rc1 before 0.32.0.rc2, the GET /admin/organization/users search interpolates params[:term] into raw Arel.sql ORDER BY similarity expressions before sanitization, allowing an authenticated organization administrator to execute blind PostgreSQL expressions and infer data through timing differences. This issue is fixed in versions 0.30.9, 0.31.5, and 0.32.0.rc2.

    • Update to 0.30.9
    • Update to 0.31.5
    • Update to 0.32.0
    Published Updated
  13. CVE-2016-1000305

    Medium · CVSS 6.9Fix available

    guard-livereload has a directory traversal vulnerability

    The vulnerability allows remote attackers to read arbitrary files on the server by exploiting improper path validation in the livereload server functionality. This vulnerability is related to the handling of file paths in the livereload server component, which could allow an attacker to traverse directories and access files outside the intended web root directory. The issue was identified and reported through the DWF (Distributed Weakness Filing) project, which assigns CVE identifiers for security vulnerabilities. A directory traversal vulnerability exists in guard-livereload before version 2.5.2.

    • Update to 2.5.2
    Published Updated
  14. CVE-2026-45330

    Medium · CVSS 4.9EPSS 0.46%Fix available

    Decidim: Verification admins can access supplied IDs from other organisations

    Decidim is a participatory democracy framework. Prior to 0.30.9, from 0.31.0 before 0.31.5, and in 0.32.0.rc1 before 0.32.0.rc2, the identity-document verification admin controllers load pending Authorization records by raw identifier without confirming current_organization ownership, allowing an administrator from one tenant to view, approve, or reject another tenant’s ID-document request. This issue is fixed in versions 0.30.9, 0.31.5, and 0.32.0.rc2.

    • Update to 0.30.9
    • Update to 0.31.5
    • Update to 0.32.0
    Published Updated
  15. CVE-2026-45086

    Medium · CVSS 5.4EPSS 0.29%Fix available

    Decidim: Forms admin question editor lacks authorization

    Decidim is a participatory democracy framework. From 0.31.1 before 0.31.5 and in 0.32.0.rc1 before 0.32.0.rc2, a participant can directly load /admin/demographics/questions/edit_questions and reach the demographics questionnaire editor without the required administrator authorization. The demographics questionnaire editor should require admin access, but the route under /admin/demographics/questions renders the editor interface without checking whether the caller is an admin. A normal participant can load the page and see the live update form action, which proves the protected interface is reachable. This issue is fixed in versions 0.31.5 and

    • Update to 0.31.5
    • Update to 0.32.0
    Published Updated
  16. CVE-2026-53510

    High · CVSS 8.1EPSS 0.69%Fix available

    Savon::Model evaluates WSDL operation names as Ruby source

    Savon is a Ruby SOAP client. From 0.9.8 until 2.17.2, Savon::Model .all_operations interpolates attacker-controlled WSDL operation names into Ruby source passed to module_eval, allowing Ruby code execution in the application process. This issue is fixed in version 2.17.2.

    • Update to 2.17.2
    Published Updated
  17. CVE-2026-66066

    Critical · CVSS 9.5EPSS 32.9%Public exploitFix available

    Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing

    Action Pack is a framework for handling and responding to web requests. In versions prior to 7.2.3.2, 8.0.5.1 and 8.1.3.1, Active Storage does not disable libvips operations marked unsafe for untrusted content, allowing a crafted upload to invoke such an operation. Consuming applications are affected when configured to use libvips and accept image uploads from untrusted users. An unauthenticated attacker may exploit this behavior to read arbitrary files accessible to the Rails process, including environment variables and application secrets. Exposure of credentials such as secret_key_base or external-service tokens may enable remote code exec

    • Update to 2:6.1.7.10+dfsg-1~deb12u3
    • Update to 2:7.2.2.2+dfsg-2~deb13u2
    • Update to 2:7.2.3.2+dfsg-1
    • Update to 7.2.3.2
    • Update to 8.0.5.1
    • Update to 8.1.3.1
    Published Updated
  18. CVE-2026-54522

    Low · CVSS 2.1EPSS 0.23%Fix available

    MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure

    MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.2, MessagePack::Buffer#clear in ext/msgpack/buffer.c leaves rmem_last, rmem_end, and rmem_owner stale after _msgpack_buffer_shift_chunk returns an rmem page to the shared pool, allowing a subsequent Buffer#write and a second MessagePack::Buffer to alias the page and disclose or corrupt cross-buffer data. This issue is fixed in version 1.8.2.

    • Update to 1.8.2
    • Update to 1.8.3-1
    Published Updated
  19. CVE-2026-67432

    High · CVSS 7.5EPSS 0.78%Fix available

    MCP Ruby SDK: Unbounded JSON-RPC request body causes uncontrolled memory allocation in StreamableHTTPTransport

    MCP Ruby SDK is the official Ruby SDK for Model Context Protocol servers and clients. Prior to 0.23.0, MCP::Server::Transports::StreamableHTTPTransport in the mcp gem reads and parses an entire JSON-RPC POST body without a size limit, allowing an unauthenticated remote attacker to exhaust process memory. This issue is fixed in version 0.23.0.

    • Update to 0.23.0
    Published Updated
  20. CVE-2026-67431

    High · CVSS 8.3EPSS 0.36%Fix available

    MCP Ruby SDK: Ruby SSE Session Poisoning

    MCP Ruby SDK is the official Ruby SDK for Model Context Protocol servers and clients. Prior to 0.23.0, MCP::Server::Transports::StreamableHTTPTransport in the mcp gem does not bind a session ID to a session owner, allowing an attacker with a stolen session ID to send tools/call requests that execute in the victim's session. This issue is fixed in version 0.23.0.

    • Update to 0.23.0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →