Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-12271: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in jtermaat 360 Javascript Viewer

0
Medium
VulnerabilityCVE-2024-12271cvecve-2024-12271cwe-79
Published: Thu Dec 12 2024 (12/12/2024, 12:42:13 UTC)
Source: CVE Database V5
Vendor/Project: jtermaat
Product: 360 Javascript Viewer

Description

CVE-2024-12271 is a stored Cross-Site Scripting (XSS) vulnerability in the 360 Javascript Viewer WordPress plugin affecting all versions up to 1. 7. 29. It arises from improper input sanitization and output escaping of the 'ref' parameter, allowing authenticated administrators on multi-site WordPress installations with unfiltered_html disabled to inject malicious scripts. These scripts execute when users access the compromised pages, potentially leading to session hijacking or privilege escalation. The vulnerability requires administrator-level privileges and does not require user interaction to trigger. Although no known exploits are currently reported in the wild, the vulnerability has a CVSS score of 4. 4 (medium severity). Organizations using multi-site WordPress setups with this plugin should prioritize patching or mitigating this issue to prevent potential abuse.

AI-Powered Analysis

AILast updated: 02/26/2026, 05:43:36 UTC

Technical Analysis

CVE-2024-12271 is a stored Cross-Site Scripting (XSS) vulnerability identified in the 360 Javascript Viewer plugin for WordPress, maintained by jtermaat. The vulnerability exists in all plugin versions up to and including 1.7.29 and is caused by insufficient sanitization and escaping of the 'ref' parameter during web page generation. Specifically, the plugin fails to properly neutralize input before embedding it into pages, allowing an authenticated attacker with administrator privileges on multi-site WordPress installations to inject arbitrary JavaScript code. This malicious code is stored persistently and executed whenever any user accesses the affected page, potentially compromising user sessions, stealing credentials, or performing actions on behalf of users. The vulnerability only manifests in multi-site environments where the WordPress setting 'unfiltered_html' is disabled, limiting the scope but still posing a significant risk in such configurations. The CVSS 3.1 base score is 4.4, reflecting a medium severity due to the requirement for high privileges (administrator) and the complexity of exploitation (high attack complexity). No public exploits have been reported yet, but the vulnerability's presence in a popular WordPress plugin underscores the need for awareness and remediation.

Potential Impact

The primary impact of CVE-2024-12271 is the potential for stored XSS attacks that can compromise the confidentiality and integrity of user data within affected WordPress multi-site installations. An attacker with administrator access can inject malicious scripts that execute in the context of other users' browsers, enabling session hijacking, credential theft, or unauthorized actions performed with the victim's privileges. Although availability is not directly affected, the exploitation could lead to further compromise of the WordPress environment or pivoting to other systems. Organizations relying on multi-site WordPress deployments with the vulnerable plugin are at risk of internal attacks or insider threats escalating their control. The requirement for administrator privileges limits external exploitation but does not eliminate risk from compromised or malicious insiders. The medium CVSS score reflects moderate risk, but the impact can be severe if exploited in high-value environments such as corporate intranets, educational institutions, or government portals using multi-site WordPress setups.

Mitigation Recommendations

To mitigate CVE-2024-12271, organizations should first verify if they are running multi-site WordPress installations with the 360 Javascript Viewer plugin version 1.7.29 or earlier. Since no official patch links are provided, administrators should monitor the vendor's site or WordPress plugin repository for updates addressing this vulnerability. In the interim, restrict administrator access strictly to trusted personnel and audit existing administrator accounts for suspicious activity. Consider disabling or limiting the use of the 'ref' parameter if possible, or implement web application firewall (WAF) rules to detect and block suspicious script injections targeting this parameter. Additionally, enable Content Security Policy (CSP) headers to reduce the impact of injected scripts. Review and adjust the 'unfiltered_html' setting carefully, understanding that enabling it may increase other risks but disabling it is a condition for this vulnerability. Regularly scan the WordPress environment with security tools to detect stored XSS payloads. Finally, educate administrators on secure plugin management and the risks of stored XSS in multi-site contexts.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-12-05T18:05:17.835Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e35b7ef31ef0b597c36

Added to database: 2/25/2026, 9:48:37 PM

Last enriched: 2/26/2026, 5:43:36 AM

Last updated: 2/26/2026, 6:12:05 AM

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats