Skip to main content

CVE-2022-1187: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in macbookandrew WP YouTube Live

Medium
VulnerabilityCVE-2022-1187cvecve-2022-1187cwe-79
Published: Tue Apr 19 2022 (04/19/2022, 20:26:35 UTC)
Source: CVE
Vendor/Project: macbookandrew
Product: WP YouTube Live

Description

The WordPress WP YouTube Live Plugin is vulnerable to Reflected Cross-Site Scripting via POST data found in the ~/inc/admin.php file which allows unauthenticated attackers to inject arbitrary web scripts in versions up to, and including, 1.7.21.

AI-Powered Analysis

AILast updated: 07/06/2025, 22:55:15 UTC

Technical Analysis

CVE-2022-1187 is a reflected Cross-Site Scripting (XSS) vulnerability identified in the WP YouTube Live plugin for WordPress, developed by macbookandrew. This vulnerability affects all versions up to and including 1.7.21. The flaw exists in the ~/inc/admin.php file, where POST data is improperly sanitized or neutralized before being included in web page generation. As a result, unauthenticated attackers can inject arbitrary JavaScript or other web scripts that execute in the context of the victim's browser. The vulnerability is classified under CWE-79, which pertains to improper neutralization of input during web page generation. The CVSS v3.1 base score is 6.1, indicating a medium severity level. The vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) reveals that the attack can be launched remotely over the network without any privileges or authentication, but requires user interaction (UI:R), such as tricking a user into clicking a malicious link or submitting a crafted form. The scope is changed (S:C), meaning the vulnerability can affect resources beyond the vulnerable component. The impact affects confidentiality and integrity to a limited extent (C:L/I:L), but does not affect availability (A:N). No known exploits have been reported in the wild, and no official patches or updates are linked in the provided information. This vulnerability could be leveraged to steal session cookies, perform actions on behalf of the user, or conduct phishing attacks within the context of the WordPress admin interface or other affected pages where the plugin is active.

Potential Impact

For European organizations using WordPress sites with the WP YouTube Live plugin, this vulnerability poses a risk of client-side script injection that can compromise user sessions and data confidentiality. Since the vulnerability is exploitable without authentication, any visitor or attacker can attempt to exploit it, increasing the attack surface. The reflected XSS can be used to steal administrator credentials or session tokens, potentially leading to unauthorized access to the WordPress backend, data leakage, or further compromise of the website. This is particularly concerning for organizations that rely on WordPress for public-facing websites, intranets, or customer portals. The impact is heightened in sectors where data privacy is critical, such as finance, healthcare, and government, due to potential GDPR implications if personal data is exposed. Additionally, the scope change in the CVSS vector suggests that the vulnerability could affect other components or users beyond the immediate plugin context, potentially enabling broader attacks within the affected web environment. However, the absence of known exploits in the wild and the medium severity rating indicate that while the threat is real, it may require targeted conditions or user interaction to be successfully exploited.

Mitigation Recommendations

European organizations should immediately assess their WordPress installations for the presence of the WP YouTube Live plugin and verify the version in use. Since no official patch links are provided, organizations should: 1) Temporarily disable or uninstall the WP YouTube Live plugin until a secure version is released. 2) Implement Web Application Firewall (WAF) rules to detect and block suspicious POST requests containing script payloads targeting the vulnerable endpoint (~/inc/admin.php). 3) Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on affected sites. 4) Educate users and administrators about the risks of clicking on untrusted links or submitting unverified forms to reduce the chance of successful reflected XSS exploitation. 5) Monitor web server and application logs for unusual POST requests or error patterns related to the plugin. 6) Regularly update all WordPress plugins and core installations to the latest versions once a patch is available. 7) Conduct security scans and penetration tests focusing on XSS vulnerabilities in the web environment to identify and remediate similar issues proactively.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2022-03-30T00:00:00.000Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d981ec4522896dcbdbc7c

Added to database: 5/21/2025, 9:08:46 AM

Last enriched: 7/6/2025, 10:55:15 PM

Last updated: 8/10/2025, 4:02:55 AM

Views: 11

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

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

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats