CVE-2025-7966: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in zohaib167 Get Youtube Subs
The Get Youtube Subs plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘channel', 'layout', and 'subs_count’ parameters in all versions up to, and including, 3.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
The Get Youtube Subs plugin for WordPress, developed by zohaib167, suffers from a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2025-7966. This vulnerability arises due to improper neutralization of input during web page generation (CWE-79), specifically in the handling of the 'channel', 'layout', and 'subs_count' parameters. All versions up to and including 3.5 are affected. The root cause is insufficient input sanitization and output escaping, allowing authenticated users with Contributor-level privileges or higher to inject arbitrary JavaScript code into pages generated by the plugin. Because the malicious script is stored persistently, it executes whenever any user accesses the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting network exploitability with low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches have been officially released at the time of publication, and no known exploits are reported in the wild. The vulnerability was reserved and published in July 2025 by Wordfence. Given the plugin’s usage in WordPress environments, this vulnerability poses a significant risk to websites that rely on it for YouTube subscriber display functionality.
Potential Impact
This vulnerability can lead to significant security risks for organizations running WordPress sites with the Get Youtube Subs plugin. Attackers with Contributor-level access can inject malicious scripts that execute in the context of other users, including administrators, potentially leading to session hijacking, credential theft, unauthorized actions, or defacement. The compromise of administrative accounts could lead to full site takeover, data breaches, or further malware deployment. Since the vulnerability affects all versions up to 3.5, any unpatched or unmitigated site remains at risk. The impact extends to the confidentiality and integrity of user data and site content, although availability is not directly affected. Organizations with multiple contributors or less restrictive access controls are at higher risk. The lack of known exploits in the wild suggests limited active exploitation currently, but the medium severity and ease of exploitation by authenticated users make timely remediation critical to prevent future attacks.
Mitigation Recommendations
Organizations should immediately audit their WordPress installations to identify the presence of the Get Youtube Subs plugin and its version. Until an official patch is released, administrators should restrict Contributor-level and higher privileges to trusted users only, minimizing the risk of malicious script injection. Implementing Web Application Firewall (WAF) rules to detect and block suspicious input patterns in the affected parameters ('channel', 'layout', 'subs_count') can provide temporary protection. Site administrators should also consider disabling or removing the plugin if it is not essential. Monitoring site content for unexpected script injections and conducting regular security scans can help detect exploitation attempts. Once a patch becomes available, prompt updating of the plugin is essential. Additionally, applying Content Security Policy (CSP) headers can mitigate the impact of XSS by restricting script execution sources. Educating contributors about safe input practices and limiting the use of untrusted content in plugin parameters will further reduce risk.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, India, France, Brazil, Japan, Netherlands
CVE-2025-7966: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in zohaib167 Get Youtube Subs
Description
The Get Youtube Subs plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘channel', 'layout', and 'subs_count’ parameters in all versions up to, and including, 3.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Get Youtube Subs plugin for WordPress, developed by zohaib167, suffers from a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2025-7966. This vulnerability arises due to improper neutralization of input during web page generation (CWE-79), specifically in the handling of the 'channel', 'layout', and 'subs_count' parameters. All versions up to and including 3.5 are affected. The root cause is insufficient input sanitization and output escaping, allowing authenticated users with Contributor-level privileges or higher to inject arbitrary JavaScript code into pages generated by the plugin. Because the malicious script is stored persistently, it executes whenever any user accesses the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting network exploitability with low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches have been officially released at the time of publication, and no known exploits are reported in the wild. The vulnerability was reserved and published in July 2025 by Wordfence. Given the plugin’s usage in WordPress environments, this vulnerability poses a significant risk to websites that rely on it for YouTube subscriber display functionality.
Potential Impact
This vulnerability can lead to significant security risks for organizations running WordPress sites with the Get Youtube Subs plugin. Attackers with Contributor-level access can inject malicious scripts that execute in the context of other users, including administrators, potentially leading to session hijacking, credential theft, unauthorized actions, or defacement. The compromise of administrative accounts could lead to full site takeover, data breaches, or further malware deployment. Since the vulnerability affects all versions up to 3.5, any unpatched or unmitigated site remains at risk. The impact extends to the confidentiality and integrity of user data and site content, although availability is not directly affected. Organizations with multiple contributors or less restrictive access controls are at higher risk. The lack of known exploits in the wild suggests limited active exploitation currently, but the medium severity and ease of exploitation by authenticated users make timely remediation critical to prevent future attacks.
Mitigation Recommendations
Organizations should immediately audit their WordPress installations to identify the presence of the Get Youtube Subs plugin and its version. Until an official patch is released, administrators should restrict Contributor-level and higher privileges to trusted users only, minimizing the risk of malicious script injection. Implementing Web Application Firewall (WAF) rules to detect and block suspicious input patterns in the affected parameters ('channel', 'layout', 'subs_count') can provide temporary protection. Site administrators should also consider disabling or removing the plugin if it is not essential. Monitoring site content for unexpected script injections and conducting regular security scans can help detect exploitation attempts. Once a patch becomes available, prompt updating of the plugin is essential. Additionally, applying Content Security Policy (CSP) headers can mitigate the impact of XSS by restricting script execution sources. Educating contributors about safe input practices and limiting the use of untrusted content in plugin parameters will further reduce risk.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-07-21T18:08:52.069Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6881fdd8ad5a09ad0033bf1e
Added to database: 7/24/2025, 9:33:12 AM
Last enriched: 2/26/2026, 4:44:11 PM
Last updated: 3/24/2026, 6:56:49 AM
Views: 110
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.