CVE-2024-39311
Ruby vulnerability analysis and mitigation

Overview

Publify, a self-hosted Web publishing platform on Rails, contains a cross-site scripting (XSS) vulnerability in versions prior to 10.0.1 (and versions prior to 10.0.2 of the publify_core rubygem). The vulnerability allows a publisher to perform an XSS attack on an administrator through the redirect functionality (GitHub Advisory).

Technical details

The vulnerability exists in the redirect functionality where a publisher can create a redirect to a malicious javascript URL. While the redirect itself doesn't execute, an anchor tag is created in the administrative panel containing the payload as the URI. When an administrator clicks this link, the XSS payload is triggered. The vulnerability has been assigned a CVSS v4.0 score of 1.8 (LOW) with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P (GitHub Advisory).

Impact

The primary impact of this vulnerability is the potential for privilege escalation. A publisher could potentially exploit this vulnerability to elevate their privileges to administrator level. The attack requires administrator interaction through clicking a malicious link, which could be disguised using HTML or other encodings to appear legitimate (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Publify version 10.0.1 and publify_core version 10.0.2. Users should upgrade to these or later versions to mitigate the vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-4249-gjr8-jpq3HIGH8.7
  • RubyRuby
  • prosemirror_to_html
NoYesNov 13, 2025
CVE-2025-64501HIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 10, 2025
GHSA-vfpf-xmwh-8m65HIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 07, 2025
GHSA-52c5-vh7f-26fxHIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 06, 2025
CVE-2025-12790HIGH7.4
  • RubyRuby
  • mqtt
NoYesNov 06, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management