CVE-2024-6256: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub Feeds for YouTube (YouTube video, channel, and gallery plugin)
CVE-2024-6256 is a stored cross-site scripting (XSS) vulnerability in the Feeds for YouTube WordPress plugin (versions up to 2. 2. 1). It allows authenticated users with contributor-level access or higher to inject malicious scripts via the 'youtube-feed' shortcode due to insufficient input sanitization and output escaping. These scripts execute whenever any user views the affected page, potentially compromising user sessions and site integrity. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction beyond page access. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation, especially on sites with multiple contributors. The threat primarily affects WordPress sites globally, with higher risk in countries where WordPress and this plugin have significant usage.
AI Analysis
Technical Summary
CVE-2024-6256 is a stored cross-site scripting (XSS) vulnerability identified in the Feeds for YouTube plugin for WordPress, which provides YouTube video, channel, and gallery embedding functionality via a shortcode named 'youtube-feed'. The vulnerability exists in all versions up to and including 2.2.1 due to improper neutralization of user-supplied input within the shortcode attributes. Specifically, the plugin fails to sufficiently sanitize and escape input before rendering it on web pages, enabling authenticated users with contributor-level or higher privileges to inject arbitrary JavaScript code. This malicious code is stored persistently and executed in the context of any user who visits the compromised page, potentially leading to session hijacking, privilege escalation, or other malicious activities. The vulnerability requires no user interaction beyond page access and has a CVSS 3.1 base score of 6.4, indicating medium severity. The attack vector is network-based, with low attack complexity and privileges required at the contributor level. The scope is changed because the vulnerability affects other users who view the injected content. No known public exploits have been reported yet, but the vulnerability poses a significant risk to WordPress sites using this plugin, especially those with multiple contributors or editors. The lack of an official patch at the time of disclosure necessitates immediate mitigation efforts by site administrators.
Potential Impact
The primary impact of CVE-2024-6256 is the compromise of confidentiality and integrity on affected WordPress sites. Exploitation allows an attacker with contributor-level access to inject persistent malicious scripts that execute in the browsers of site visitors, including administrators and editors. This can lead to session hijacking, theft of sensitive information such as cookies or credentials, unauthorized actions performed on behalf of users, and potential defacement or redirection attacks. While availability is not directly impacted, the trustworthiness and security posture of the affected website can be severely undermined. Organizations relying on the Feeds for YouTube plugin risk reputational damage, data breaches, and potential compliance violations if user data is exposed. The vulnerability is particularly concerning for multi-user WordPress environments such as news sites, corporate blogs, and community portals where contributor roles are common. The medium severity score reflects the balance between required privileges and the potential damage caused by exploitation.
Mitigation Recommendations
To mitigate CVE-2024-6256, organizations should first verify if they are using the Feeds for YouTube plugin version 2.2.1 or earlier and plan to update to a patched version as soon as it becomes available. Until an official patch is released, administrators should restrict contributor-level privileges to trusted users only, minimizing the risk of malicious shortcode injection. Implementing a Web Application Firewall (WAF) with rules to detect and block suspicious script injections in shortcode parameters can provide temporary protection. Site owners should audit existing content for injected scripts and remove any suspicious shortcode attributes. Enabling Content Security Policy (CSP) headers can help limit the impact of injected scripts by restricting script sources. Regularly monitoring logs and user activity for anomalous behavior is also recommended. Additionally, educating contributors about safe content practices and the risks of injecting untrusted input can reduce accidental exploitation. Finally, maintain up-to-date backups to enable recovery if an attack occurs.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, India, France, Netherlands, Brazil, Japan, Italy, Spain
CVE-2024-6256: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub Feeds for YouTube (YouTube video, channel, and gallery plugin)
Description
CVE-2024-6256 is a stored cross-site scripting (XSS) vulnerability in the Feeds for YouTube WordPress plugin (versions up to 2. 2. 1). It allows authenticated users with contributor-level access or higher to inject malicious scripts via the 'youtube-feed' shortcode due to insufficient input sanitization and output escaping. These scripts execute whenever any user views the affected page, potentially compromising user sessions and site integrity. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction beyond page access. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation, especially on sites with multiple contributors. The threat primarily affects WordPress sites globally, with higher risk in countries where WordPress and this plugin have significant usage.
AI-Powered Analysis
Technical Analysis
CVE-2024-6256 is a stored cross-site scripting (XSS) vulnerability identified in the Feeds for YouTube plugin for WordPress, which provides YouTube video, channel, and gallery embedding functionality via a shortcode named 'youtube-feed'. The vulnerability exists in all versions up to and including 2.2.1 due to improper neutralization of user-supplied input within the shortcode attributes. Specifically, the plugin fails to sufficiently sanitize and escape input before rendering it on web pages, enabling authenticated users with contributor-level or higher privileges to inject arbitrary JavaScript code. This malicious code is stored persistently and executed in the context of any user who visits the compromised page, potentially leading to session hijacking, privilege escalation, or other malicious activities. The vulnerability requires no user interaction beyond page access and has a CVSS 3.1 base score of 6.4, indicating medium severity. The attack vector is network-based, with low attack complexity and privileges required at the contributor level. The scope is changed because the vulnerability affects other users who view the injected content. No known public exploits have been reported yet, but the vulnerability poses a significant risk to WordPress sites using this plugin, especially those with multiple contributors or editors. The lack of an official patch at the time of disclosure necessitates immediate mitigation efforts by site administrators.
Potential Impact
The primary impact of CVE-2024-6256 is the compromise of confidentiality and integrity on affected WordPress sites. Exploitation allows an attacker with contributor-level access to inject persistent malicious scripts that execute in the browsers of site visitors, including administrators and editors. This can lead to session hijacking, theft of sensitive information such as cookies or credentials, unauthorized actions performed on behalf of users, and potential defacement or redirection attacks. While availability is not directly impacted, the trustworthiness and security posture of the affected website can be severely undermined. Organizations relying on the Feeds for YouTube plugin risk reputational damage, data breaches, and potential compliance violations if user data is exposed. The vulnerability is particularly concerning for multi-user WordPress environments such as news sites, corporate blogs, and community portals where contributor roles are common. The medium severity score reflects the balance between required privileges and the potential damage caused by exploitation.
Mitigation Recommendations
To mitigate CVE-2024-6256, organizations should first verify if they are using the Feeds for YouTube plugin version 2.2.1 or earlier and plan to update to a patched version as soon as it becomes available. Until an official patch is released, administrators should restrict contributor-level privileges to trusted users only, minimizing the risk of malicious shortcode injection. Implementing a Web Application Firewall (WAF) with rules to detect and block suspicious script injections in shortcode parameters can provide temporary protection. Site owners should audit existing content for injected scripts and remove any suspicious shortcode attributes. Enabling Content Security Policy (CSP) headers can help limit the impact of injected scripts by restricting script sources. Regularly monitoring logs and user activity for anomalous behavior is also recommended. Additionally, educating contributors about safe content practices and the risks of injecting untrusted input can reduce accidental exploitation. Finally, maintain up-to-date backups to enable recovery if an attack occurs.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-06-21T20:08:31.465Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6bfeb7ef31ef0b55d688
Added to database: 2/25/2026, 9:39:10 PM
Last enriched: 2/26/2026, 3:06:06 AM
Last updated: 2/26/2026, 8:06:01 AM
Views: 1
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.
Related Threats
CVE-2026-25191: Uncontrolled Search Path Element in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-23703: Incorrect default permissions in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-1311: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bearsthemes Worry Proof Backup
HighFinding Signal in the Noise: Lessons Learned Running a Honeypot with AI Assistance [Guest Diary], (Tue, Feb 24th)
MediumCVE-2026-2506: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in motahar1 EM Cost Calculator
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.