Vulnerability record · CVE-2023-0992 · published 9 June 2023
CVE-2023-0992: Shield Security WordPress plugin stored XSS via User-Agent header
Getshieldsecurity · Shield Security
The Shield Security plugin for WordPress is vulnerable to stored cross-site scripting in versions up to and including 17.0.17. The flaw is reached through the 'User-Agent' header, allowing unauthenticated attackers to inject arbitrary web scripts that execute when a user views an injected page.
Description
The Shield Security plugin for WordPress is vulnerable to stored Cross-Site Scripting in versions up to, and including, 17.0.17 via the 'User-Agent' header. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Automated analysis
high priorityUnauthenticated injection with a very high EPSS score and a patch available makes timely remediation important, though exploitation requires a victim to view the injected page.
What it is
The Shield Security plugin for WordPress is vulnerable to stored cross-site scripting in versions up to and including 17.0.17. The flaw is reached through the 'User-Agent' header, allowing unauthenticated attackers to inject arbitrary web scripts that execute when a user views an injected page.
Impact
An attacker can run arbitrary script in the context of a victim's browser session, potentially stealing cookies or session tokens and performing actions as the victim. Because the payload is stored, it can affect multiple users over time.
Attack surface
Reachable over the network by sending a crafted User-Agent header; no authentication is required to inject, but a victim must access the injected page for the script to execute (UI:R).
Exploitation
Not listed in CISA KEV and no ransomware usage is documented; EPSS is very high (0.93046, 99.828th percentile), and references include a patch and third-party advisory, indicating public technical detail but no confirmed in-the-wild exploitation in this record.
What to do
- Update Shield Security to a version newer than 17.0.17 (patch referenced in the plugin changeset).
- If immediate patching is not possible, disable or remove the plugin until it can be updated.
- Deploy a web application firewall rule to block or sanitize malicious User-Agent header values.
- Apply output encoding and input sanitization for any header data rendered in admin or public pages.
- Review and restrict who can view pages that render logged header data.
Detection
- Search web server and application logs for User-Agent strings containing script tags or HTML event handlers.
- Monitor for unexpected JavaScript or HTML appearing in stored header/log data within the WordPress database.
- Use WAF or IDS signatures to alert on XSS patterns in the User-Agent header.
- Audit plugin pages that display User-Agent data for signs of injected content.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2023-0992 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-0992), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.