Skip to main content
Vulnerability Database/CVE-2026-15273

CVE-2026-15273: WordPress Automatic.css Plugin XSS Flaw

CVE-2026-15273 is a stored cross-site scripting vulnerability in the Automatic.css WordPress plugin that lets unauthenticated attackers inject malicious scripts. This post covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-15273 Overview

CVE-2026-15273 is a stored Cross-Site Scripting (XSS) vulnerability [CWE-79] in the Automatic.css plugin for WordPress, version 4.0.0. The flaw stems from insufficient input sanitization and output escaping of the REQUEST_URI server variable, which the plugin writes into its Activity Log. An authenticated attacker with low privileges can inject arbitrary JavaScript that executes when a WordPress administrator views the Activity Log settings page.

Critical Impact

Script execution in an administrator browser session can lead to account takeover, privilege escalation, and persistent backdoors in the WordPress site.

Affected Products

  • Automatic.css plugin for WordPress, version 4.0.0
  • WordPress sites with the Activity Log settings page enabled
  • Administrator accounts that access the plugin's Activity Log UI

Discovery Timeline

  • 2026-09-26 - CVE-2026-15273 published to the National Vulnerability Database (NVD)
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-15273

Vulnerability Analysis

The Automatic.css plugin logs request context data as part of its diagnostic Activity Log feature. The REQUEST_URI value, which is attacker-controllable, flows through the logging pipeline without proper sanitization. When the Activity Log settings page renders stored entries, the unescaped payload is written into the administrative DOM and executes in the administrator's browser.

Because the attack surface is network-reachable and requires only low privileges, any authenticated user who can trigger a logged request can plant a payload. The scope-change characteristic of the vulnerability reflects that execution occurs in the administrator context rather than the attacker's.

Root Cause

The root cause is a classic failure to treat $_SERVER['REQUEST_URI'] as untrusted input. The plugin's Logger class writes request metadata into log records, the JsonFormatter serializes them, and the Activity_Log settings page renders stored entries without applying esc_html(), esc_attr(), or an equivalent output-escaping function. The sanitization gap exists across both the ingestion path and the rendering path, meeting the conditions for stored XSS [CWE-79].

Attack Vector

An authenticated attacker sends an HTTP request to the target site with a crafted URI containing JavaScript, for example by appending a script payload to a legitimate path. The plugin captures the raw URI into its Activity Log store. When an administrator later loads the Activity Log settings page, the browser parses the stored payload as markup and executes the attacker-supplied script under the administrator's session.

For technical details of the vulnerable code paths, see the WordPress Logger Class, WordPress JsonFormatter Class, and WordPress Activity Log source references.

Detection Methods for CVE-2026-15273

Indicators of Compromise

  • Entries in the Automatic.css Activity Log containing HTML tags such as <script>, <img>, <svg>, or inline event handlers like onerror= and onload=.
  • HTTP access logs showing requests to WordPress endpoints with URIs containing encoded or raw JavaScript payloads.
  • Unexpected administrator account changes, new administrator users, or new plugin installations shortly after Activity Log access.

Detection Strategies

  • Review web server access logs for requests whose REQUEST_URI contains angle brackets, javascript: schemes, or URL-encoded script markers (%3Cscript).
  • Inspect the plugin's stored Activity Log JSON for serialized entries containing executable markup or event handlers.
  • Monitor WordPress audit logs for new administrator creation, option changes, and plugin or theme uploads performed through admin sessions.

Monitoring Recommendations

  • Enable a web application firewall (WAF) ruleset that flags XSS patterns in request URIs targeting WordPress sites.
  • Alert on administrator logins immediately followed by privileged configuration changes.
  • Correlate browser-side Content Security Policy (CSP) violation reports from the WordPress admin origin with Activity Log access events.

How to Mitigate CVE-2026-15273

Immediate Actions Required

  • Identify any WordPress installations running Automatic.css 4.0.0 and plan an urgent upgrade to a fixed release.
  • Restrict access to the Activity Log settings page until a patched version is installed.
  • Audit administrator accounts, scheduled tasks, and installed plugins for signs of post-exploitation changes.

Patch Information

Review the AutomaticCSS Changelogs and the Wordfence Vulnerability Report for the fixed version and upgrade guidance. Apply the vendor update as soon as it is available in your environment.

Workarounds

  • Deploy a WAF rule that blocks requests containing script tags, javascript: URIs, or encoded XSS payloads in REQUEST_URI.
  • Temporarily disable or remove the Automatic.css plugin on affected sites if an immediate upgrade is not possible.
  • Enforce a strict Content Security Policy on the WordPress admin interface to limit inline script execution.
  • Reduce the number of low-privilege authenticated accounts and review account provisioning workflows.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.