WordPress XSS2Shell flaw enables admin takeover and remote code execution. Users should update to patched versions. Researchers at Pwn just published a report on a vulnerability chain they’re calling XSS2Shell, and the entry point is quite simple: type a username that doesn’t exist, and WordPress echoes it back with a tiny formatting flaw baked into […]

A critical vulnerability chain, dubbed "XSS2Shell" by researchers at Pwn, has been discovered in WordPress that could allow an unauthenticated attacker to achieve full server takeover. The exploit chain begins with a seemingly minor cross-site scripting (XSS) flaw on the login page and culminates in remote code execution (RCE) on the web server.
The initial vulnerability resides in how WordPress processes error messages for invalid usernames during login attempts. When a user submits a non-existent username, WordPress echoes this input back in an error message. A key flaw exists in the `strip_tags()` function, a PHP built-in used by WordPress to sanitize the input. This function fails to recognize HTML tags if there is a space immediately following the opening bracket (e.g., `< area id=ajaxurl>`). Consequently, an attacker can inject a payload like `area id=ajaxurl` which bypasses `strip_tags()` unscathed.
However, a separate WordPress sanitizer, `wp_kses_post()`, interprets this malformed tag as a legitimate HTML element, rendering it in the browser's Document Object Model (DOM). This injected `area` element, with its `id` attribute set to "ajaxurl," then becomes accessible as a property on the browser's `window` object due to a standard HTML specification that exposes elements with `id` attributes as named properties of the `window` object.
The next step in the attack chain leverages a script intended for the profile page, `user-profile.js`, which is inadvertently loaded on the login page to handle password resets. This script monitors for a password-reset button and automatically triggers a click event. The injected DOM element, acting as a spurious password-reset button, causes the script to attempt to resolve an undefined JavaScript variable, `ajaxurl`. Due to the DOM clobbering effect, the injected `area` element with `id="ajaxurl"` is returned as the value for `window.ajaxurl`. This allows the attacker to control how the script handles subsequent network requests.
The compromised `ajaxurl` then directs a request to WordPress's REST API, tricking it into responding as JSONP. The attacker can manipulate the callback function name in the JSONP response, which, critically, accepts dots in addition to letters. This allows for traversing property chains across browser windows. The researchers adapted a 2022 technique to turn this into a cross-window click event, executing within an actual logged-in administrator's session rather than the attacker's own.
Achieving full server compromise requires a precise sequence of actions: opening a hidden browser window, navigating the administrator's browser to WordPress's application-password approval screen, and then triggering the cross-window click on the "approve" button. This action, executed with the administrator's genuine session cookies and nonces, grants the attacker a valid Application Password for the administrator account. WordPress's REST API accepts these Application Passwords via HTTP Basic authentication from any origin.
With an Application Password, the attacker's page can make authenticated cross-origin API calls. Since single-site WordPress administrators possess the `unfiltered_html` capability by default, script tags submitted by the attacker survive into published pages. This allows the attacker to publish a page containing their own JavaScript, which can then be used to upload and execute a plugin containing arbitrary PHP code.
The researchers demonstrated a proof-of-concept that ended with a minimal PHP file confirming code execution as the web server user, followed by a complete cleanup of all traces, including the revocation of the application password, deletion of the published page, and removal of the plugin directory. This demonstrated that the attack chain is pre-authentication, requires no user interaction beyond visiting a malicious link, and reliably leads to remote code execution on a default WordPress installation.
WordPress was notified of the vulnerability on July 27 and promptly released version 7.0.3 on August 6 to address the issue. The fix has been backported to all still-maintained WordPress branches, extending coverage back to WordPress 4.7. Users are strongly urged to update their WordPress installations immediately to mitigate this critical threat.
A weakness has been identified in Tenda CP3 27.5.57.101. This issue affects some unknown processing of the file Net/NetCheckPing.cpp. This manipulation of the argument interface_name/host causes os command injection. The attack can be initiated remotely.
A security flaw has been discovered in Tenda CP3 27.5.57.101. This vulnerability affects the function SystemAsh of the file Apis/system.c of the component Kylin. The manipulation of the argument AlarmVoiceURL results in os command injection. It is possible to launch the attack remotely.

Attackers are exploiting a new unpatched vulnerability in Magento Open Source and Adobe Commerce that lets them run malicious code on an online store's server without logging in, Dutch e-commerce security company Sansec said in an advisory published on September 5. Sansec, which discovered the flaw and named it StyleSmuggler, said attacks started on September 4. "Sansec is publishing early
In BPF instructions that load/store a value from/to a scratch memory register the register index is an unsigned 32-bit integer and must not exceed 15, but libpcap BPF interpreter does not validate the value. In particular uncommon use cases a crafted filter program can cause the interpreter to try reading and writing the OS process memory in the 16GiB starting at the current stack frame on 64-bit architectures and in the entire address space on 32-bit architectures.

Attackers are exploiting two new PaperCut flaws to steal credentials and gain privileged access in education-sector attacks across the U.S. and Europe. Attackers are exploiting two recelty disclosed PaperCut flaws, CVE-2026-81578 and CVE-2026-82078, in attacks targeting schools and other education organizations in the U.S. and Europe, as reported by TheHackerNews. Arctic Wolf researchers observed

JetBrains is urging Cadence users to revoke and rotate all credentials following a security incident last month in which unidentified threat actors exploited a recently disclosed critical vulnerability in TeamCity to breach its own environment. "Cadence users should immediately revoke or rotate all credentials and secrets that may have been used to run their Cadence executions," JetBrains said.