CVE-2025-2892: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic
The All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the post Meta Description and Canonical URL parameters in all versions up to, and including, 4.8.1.1 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
CVE-2025-2892 identifies a stored cross-site scripting vulnerability in the All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic, a widely used WordPress plugin designed to enhance SEO performance. The vulnerability arises from improper neutralization of input during web page generation (CWE-79). Specifically, the plugin fails to adequately sanitize and escape user-supplied input in the post Meta Description and Canonical URL parameters. This flaw allows authenticated attackers with Contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the malicious scripts are stored persistently in the WordPress database, they execute every time a user accesses the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability affects all versions up to and including 4.8.1.1. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, required privileges (low), no user interaction, and a scope change with partial confidentiality and integrity impact but no availability impact. Although no public exploits have been reported yet, the vulnerability poses a significant risk due to the plugin’s popularity and the ease of exploitation by authenticated users. The lack of patches at the time of reporting necessitates immediate attention from site administrators.
Potential Impact
The impact of CVE-2025-2892 is primarily on the confidentiality and integrity of affected WordPress sites and their users. Successful exploitation can lead to session hijacking, theft of sensitive information such as authentication cookies, and unauthorized actions performed in the context of legitimate users. This can result in website defacement, redirection to malicious sites, or the spread of malware. For organizations, this can cause reputational damage, loss of customer trust, and potential regulatory consequences if user data is compromised. Since the vulnerability requires authenticated access at Contributor level or above, attackers need some level of access, which might be obtained through social engineering or compromised credentials. The scope change in the CVSS vector indicates that the vulnerability can affect resources beyond the initially vulnerable component, potentially impacting the entire website. Given the widespread use of WordPress and this SEO plugin, many websites globally are at risk, especially those that do not regularly update plugins or enforce strict access controls.
Mitigation Recommendations
To mitigate CVE-2025-2892, organizations should immediately update the All in One SEO plugin to a version where this vulnerability is patched once available. Until an official patch is released, administrators should restrict Contributor-level and higher permissions to trusted users only, minimizing the risk of malicious input injection. Implementing a Web Application Firewall (WAF) with custom rules to detect and block suspicious script tags or JavaScript payloads in Meta Description and Canonical URL fields can provide temporary protection. Additionally, site owners should audit existing content for injected scripts and sanitize stored data if possible. Employing Content Security Policy (CSP) headers can help reduce the impact of XSS by restricting script execution sources. Regularly monitoring user activity and access logs for unusual behavior can help detect exploitation attempts early. Finally, educating users about the risks of credential compromise and enforcing strong authentication mechanisms (e.g., MFA) reduces the likelihood of attackers gaining the necessary privileges to exploit this vulnerability.
Affected Countries
United States, India, Brazil, Germany, United Kingdom, Canada, Australia, France, Japan, Netherlands, Italy, Spain
CVE-2025-2892: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic
Description
The All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the post Meta Description and Canonical URL parameters in all versions up to, and including, 4.8.1.1 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
CVE-2025-2892 identifies a stored cross-site scripting vulnerability in the All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic, a widely used WordPress plugin designed to enhance SEO performance. The vulnerability arises from improper neutralization of input during web page generation (CWE-79). Specifically, the plugin fails to adequately sanitize and escape user-supplied input in the post Meta Description and Canonical URL parameters. This flaw allows authenticated attackers with Contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the malicious scripts are stored persistently in the WordPress database, they execute every time a user accesses the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability affects all versions up to and including 4.8.1.1. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, required privileges (low), no user interaction, and a scope change with partial confidentiality and integrity impact but no availability impact. Although no public exploits have been reported yet, the vulnerability poses a significant risk due to the plugin’s popularity and the ease of exploitation by authenticated users. The lack of patches at the time of reporting necessitates immediate attention from site administrators.
Potential Impact
The impact of CVE-2025-2892 is primarily on the confidentiality and integrity of affected WordPress sites and their users. Successful exploitation can lead to session hijacking, theft of sensitive information such as authentication cookies, and unauthorized actions performed in the context of legitimate users. This can result in website defacement, redirection to malicious sites, or the spread of malware. For organizations, this can cause reputational damage, loss of customer trust, and potential regulatory consequences if user data is compromised. Since the vulnerability requires authenticated access at Contributor level or above, attackers need some level of access, which might be obtained through social engineering or compromised credentials. The scope change in the CVSS vector indicates that the vulnerability can affect resources beyond the initially vulnerable component, potentially impacting the entire website. Given the widespread use of WordPress and this SEO plugin, many websites globally are at risk, especially those that do not regularly update plugins or enforce strict access controls.
Mitigation Recommendations
To mitigate CVE-2025-2892, organizations should immediately update the All in One SEO plugin to a version where this vulnerability is patched once available. Until an official patch is released, administrators should restrict Contributor-level and higher permissions to trusted users only, minimizing the risk of malicious input injection. Implementing a Web Application Firewall (WAF) with custom rules to detect and block suspicious script tags or JavaScript payloads in Meta Description and Canonical URL fields can provide temporary protection. Additionally, site owners should audit existing content for injected scripts and sanitize stored data if possible. Employing Content Security Policy (CSP) headers can help reduce the impact of XSS by restricting script execution sources. Regularly monitoring user activity and access logs for unusual behavior can help detect exploitation attempts early. Finally, educating users about the risks of credential compromise and enforcing strong authentication mechanisms (e.g., MFA) reduces the likelihood of attackers gaining the necessary privileges to exploit this vulnerability.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-03-27T23:17:48.798Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682cd0f81484d88663aeb835
Added to database: 5/20/2025, 6:59:04 PM
Last enriched: 2/27/2026, 1:09:10 PM
Last updated: 3/25/2026, 1:37:38 AM
Views: 80
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.