Loading...
Skip to main content

CVE-2024-39311 — Vulnerability in publify_core — CVE Details

LOW

Publify Vulnerable To Cross-Site Scripting (XSS) Via Redirects Requiring User Interaction

Published March 28, 2025Updated September 10, 2026Source: osv

Summary

### Summary A publisher on a `publify` application is able to perform a cross-site scripting attack on an administrator using the redirect functionality. ### Details A publisher on a `publify` application is able to perform a cross-site scripting attack on an administrator using the redirect functionality. The exploitation of this XSS vulnerability requires the administrator to click a malicious link. We can create a redirect to a `javascript:alert()` URL. Whilst the redirect itself doesn't work, on the administrative panel, an a tag is created with the payload as the URI. Upon clicking this link, the XSS is triggered. An attack could attempt to hide their payload by using HTML, or other encodings, as to not make it obvious to an administrator that this is a malicious link. ### PoC A publisher can create a new redirect as shown below. The payload used is `javascript:alert()`. ![image](https://user-images.githubusercontent.com/44903767/295206083-3cf432c6-1f58-49a2-b09c-777e9707e0ff.png) An administrator will now see this redirect in their overview of the page. ![image](https://user-images.githubusercontent.com/44903767/295206204-3d4dc59a-8f82-42f3-98b2-a1809790351f.png) If they click the link on the right, it triggers the XSS. ![image](https://user-images.githubusercontent.com/44903767/295206292-3fea85f5-6918-4eff-8206-4a275a6e79e4.png) ### Impact A publisher may attempt to use this vulnerability to escalate their privileges and become an administrator.

Advisory Timeline

  • First published March 28, 2025 (563 days ago).
  • Last revised September 10, 2026 — 530 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update publify_core to 10.0.2 or later
gem install publify_core -v 10.0.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
publify_core
rubygems
10.0.0, 10.0.1, 9.0.0, 9.0.0.pre1 (+18 more)10.0.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 4.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
A
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2024-39311?
Publify Vulnerable To Cross-Site Scripting (XSS) Via Redirects Requiring User Interaction This vulnerability has been assigned a severity rating of LOW (CVSS score: 4.5/10).
How do I check if my project is affected by CVE-2024-39311?
CVE-2024-39311 affects publify_core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-39311 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
4.5

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-8fm5-gg2f-f66q

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies