CVE-2024-23724: n/a
Ghost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any account, via an SVG profile picture that contains JavaScript code to interact with the API on localhost TCP port 3001. NOTE: The discoverer reports that "The vendor does not view this as a valid vector."
AI Analysis
Technical Summary
CVE-2024-23724 is a stored cross-site scripting (XSS) vulnerability affecting Ghost CMS versions through 5.76.0. The vulnerability arises from the ability of contributor-level users to upload SVG images as profile pictures without adequate sanitization. SVG files can embed JavaScript code, which in this case can execute in the context of the Ghost admin interface or user session. The malicious script can interact with the Ghost API running locally on TCP port 3001, enabling the attacker to perform actions beyond their assigned privileges, including taking over any user account. This represents a privilege escalation attack facilitated by stored XSS. The vendor has stated they do not view this as a valid attack vector, possibly due to assumptions about network isolation or user roles, but the vulnerability remains a risk if an attacker can upload crafted SVGs. No CVSS score has been assigned, and no public exploits are known at this time. The attack requires contributor-level access to upload the malicious SVG and user interaction to trigger the payload. The vulnerability impacts the confidentiality and integrity of user accounts and potentially the entire Ghost CMS instance if exploited.
Potential Impact
If exploited, this vulnerability allows an attacker with contributor-level access to escalate privileges and take over any user account within the Ghost CMS environment. This can lead to unauthorized content modification, data leakage, and full administrative control of the CMS. Organizations relying on Ghost for content management could face defacement, data integrity issues, and potential exposure of sensitive information. The attack vector requires the attacker to have some level of access (contributor) and the ability to upload SVG files, which may limit exposure but does not eliminate risk. The impact is significant for organizations that allow contributor uploads without strict validation or that do not restrict contributor permissions. Additionally, if the Ghost instance is exposed to a wider user base or integrated with other systems, the compromise could cascade, affecting broader infrastructure and user trust.
Mitigation Recommendations
To mitigate this vulnerability, organizations should implement strict sanitization of SVG files to remove any embedded JavaScript or potentially malicious content before allowing uploads. Disabling SVG uploads entirely or restricting them to trusted users can reduce risk. Additionally, limiting contributor permissions to prevent profile picture uploads or restricting API access on localhost TCP port 3001 can help contain exploitation. Applying the latest Ghost CMS updates when patches become available is critical. Network segmentation and firewall rules should prevent unauthorized access to the localhost API port. Monitoring for unusual profile picture uploads and anomalous API activity can provide early detection. Educating users about the risks of uploading untrusted SVG files and enforcing strong access controls will further reduce exposure.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, Netherlands, France, India, Japan, Brazil
CVE-2024-23724: n/a
Description
Ghost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any account, via an SVG profile picture that contains JavaScript code to interact with the API on localhost TCP port 3001. NOTE: The discoverer reports that "The vendor does not view this as a valid vector."
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-23724 is a stored cross-site scripting (XSS) vulnerability affecting Ghost CMS versions through 5.76.0. The vulnerability arises from the ability of contributor-level users to upload SVG images as profile pictures without adequate sanitization. SVG files can embed JavaScript code, which in this case can execute in the context of the Ghost admin interface or user session. The malicious script can interact with the Ghost API running locally on TCP port 3001, enabling the attacker to perform actions beyond their assigned privileges, including taking over any user account. This represents a privilege escalation attack facilitated by stored XSS. The vendor has stated they do not view this as a valid attack vector, possibly due to assumptions about network isolation or user roles, but the vulnerability remains a risk if an attacker can upload crafted SVGs. No CVSS score has been assigned, and no public exploits are known at this time. The attack requires contributor-level access to upload the malicious SVG and user interaction to trigger the payload. The vulnerability impacts the confidentiality and integrity of user accounts and potentially the entire Ghost CMS instance if exploited.
Potential Impact
If exploited, this vulnerability allows an attacker with contributor-level access to escalate privileges and take over any user account within the Ghost CMS environment. This can lead to unauthorized content modification, data leakage, and full administrative control of the CMS. Organizations relying on Ghost for content management could face defacement, data integrity issues, and potential exposure of sensitive information. The attack vector requires the attacker to have some level of access (contributor) and the ability to upload SVG files, which may limit exposure but does not eliminate risk. The impact is significant for organizations that allow contributor uploads without strict validation or that do not restrict contributor permissions. Additionally, if the Ghost instance is exposed to a wider user base or integrated with other systems, the compromise could cascade, affecting broader infrastructure and user trust.
Mitigation Recommendations
To mitigate this vulnerability, organizations should implement strict sanitization of SVG files to remove any embedded JavaScript or potentially malicious content before allowing uploads. Disabling SVG uploads entirely or restricting them to trusted users can reduce risk. Additionally, limiting contributor permissions to prevent profile picture uploads or restricting API access on localhost TCP port 3001 can help contain exploitation. Applying the latest Ghost CMS updates when patches become available is critical. Network segmentation and firewall rules should prevent unauthorized access to the localhost API port. Monitoring for unusual profile picture uploads and anomalous API activity can provide early detection. Educating users about the risks of uploading untrusted SVG files and enforcing strong access controls will further reduce exposure.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- mitre
- Date Reserved
- 2024-01-21T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 699f6d51b7ef31ef0b5704f0
Added to database: 2/25/2026, 9:44:49 PM
Last enriched: 2/26/2026, 10:15:36 AM
Last updated: 4/12/2026, 7:54:41 AM
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.