Summary
CVE-2026-131758 is a Stored Cross-Site Scripting (XSS) vulnerability. It affects the SureRank SEO – Meta Tags, Social Preview, XML Sitemap, Schema & Open Graph plugin for WordPress. A fix is available in plugin version 1.11.2. There is no evidence of active exploitation.
Affected and patched versions
SureRank SEO – Meta Tags, Social Preview, XML Sitemap, Schema & Open Graph (plugin surerank): affected 1.11.1 and earlier; fixed in 1.11.2
Is my site vulnerable?
To determine if a WordPress site is vulnerable to CVE-2026-131758, check the installed version of the SureRank SEO – Meta Tags, Social Preview, XML Sitemap, Schema & Open Graph plugin.
Access the WordPress administration dashboard. Navigate to the "Plugins" section, then select "Installed Plugins." Locate the "SureRank SEO – Meta Tags, Social Preview, XML Sitemap, Schema & Open Graph" entry in the list. The version number is displayed next to the plugin name.
If the installed version is 1.11.1 or any earlier release, the site is vulnerable. Sites running version 1.11.2 or later contain the necessary security updates and are not affected by this specific vulnerability. If the plugin is not installed on the site, the site is not affected by this issue.
Regularly checking plugin versions and applying updates is a standard security practice for WordPress installations. This helps ensure that known vulnerabilities are addressed promptly.
What an attacker actually does
The SureRank SEO – Meta Tags, Social Preview, XML Sitemap, Schema & Open Graph plugin, in versions up to and including 1.11.1, contains a Stored Cross-Site Scripting (XSS) vulnerability. This issue stems from insufficient input sanitization and output escaping within the plugin's code.
An unauthenticated attacker can exploit this weakness by injecting malicious web scripts into data fields managed by the plugin. These fields might include those used for meta tags, social preview information, schema data, or other content the plugin processes and stores in the site's database. Because the plugin does not adequately filter or escape this input before saving it, the malicious script becomes a permanent part of the site's content.
When a user, including site administrators or regular visitors, accesses a page where the injected data is displayed, the malicious script executes within their web browser. This execution occurs without the user's knowledge or consent. The attacker's script runs with the privileges of the user viewing the page, potentially leading to actions such as session hijacking, unauthorized redirection to other websites, or defacement of the page content.
How to detect a compromise
Detecting a compromise related to Stored Cross-Site Scripting (XSS) in the SureRank SEO plugin involves examining the site's database for injected scripts. Since the vulnerability allows unauthenticated attackers to inject arbitrary web scripts into pages, the malicious code resides within the database content managed by the plugin.
Indicators of compromise may include:
Unexpected Script Tags: Look for
<script>tags or other HTML elements that can execute code (e.g.,<iframe>,<img>withonerrorattributes,onmouseoverevent handlers) within the data fields managed by the SureRank SEO plugin.Encoded Characters: Attackers often encode malicious scripts using HTML entities (e.g.,
<script>instead of<script>) to bypass basic filters. Search for these encoded forms as well.Unusual Content in Meta Fields: Review the content of meta descriptions, social preview text, schema data, or Open Graph tags for any unexpected or suspicious code.
To perform a manual check, access the site's database directly using a tool like phpMyAdmin or through the command line. Focus on tables commonly used by WordPress plugins to store post metadata or custom options, such as wp_postmeta and wp_options. The SureRank SEO plugin manages meta tags, social previews, and schema, which are typically stored in wp_postmeta entries associated with posts and pages.
A more efficient method involves using WP-CLI, if available on the server. The wp db search command can help locate suspicious strings across the entire database. For example, to search for script tags:
wp db search '<script' --all-tables
This command searches all database tables for the literal string '<script'. You might also search for encoded versions or other common XSS payloads. If any results appear in fields related to SureRank SEO plugin data, further investigation is warranted to determine if the content is legitimate or malicious. Review server access logs for unusual requests to your site's pages that might indicate an attacker attempting to trigger or verify an XSS payload.
How to fix
Addressing CVE-2026-131758 requires updating the SureRank SEO – Meta Tags, Social Preview, XML Sitemap, Schema & Open Graph plugin to a patched version. The vulnerability was fixed in version 1.11.2, which also included further hardening of the plugin.
Follow these steps to apply the necessary update:
Create a Full Backup: Before making any changes to the WordPress installation, create a complete backup of the site's files and database. This ensures that the site can be restored if any issues arise during the update process.
Log In to WordPress Admin: Access the WordPress administration dashboard using an account with administrative privileges.
Navigate to Plugins: From the dashboard menu, go to "Plugins" and then select "Installed Plugins."
Locate SureRank SEO: Find "SureRank SEO – Meta Tags, Social Preview, XML Sitemap, Schema & Open Graph" in the list of installed plugins.
Initiate Update: If an update to version 1.11.2 or higher is available, a notification will appear below the plugin name. Click the "Update Now" link to begin the update process.
Manual Update (If Needed): If the automatic update option is not visible or fails, download version 1.11.2 or later of the SureRank SEO plugin from the official WordPress plugin repository. Deactivate and delete the existing plugin (after backing up), then upload and activate the new version.
Verify Version: After the update completes, confirm that the plugin's version number is 1.11.2 or higher.
Clear Caches: If the site uses caching plugins or a content delivery network (CDN), clear all caches to ensure that the updated plugin files and any cleaned database content are served to visitors.
Review for Compromise: If a compromise was suspected before the update, review the site's database content for any remaining injected scripts, as described in the "How to detect a compromise" section. Remove any malicious code found.
Timeline
Date | Event |
|---|---|
2026-11-12 | Version 1.11.1 released |
2026-11-23 | Patched version released |
2026-11-26 | Vulnerability published |