← Voltar ao feed
high

WordPress 7.1.5 security release fixes 20 issues, including unauthenticated Template Part privilege escalation with a possible path to RCE

3 fonte(s) · 3 atualização(ões) · publicado 18/11/2026 15:17 · coletado há 2 semanas

Matéria consolidada. Reúne 3 matérias que o Tifon tinha publicado separadamente sobre a mesma história. A IA reescreveu o relatório com o que as 3 fontes trouxeram em 19/11/2026 12:04; os links antigos trazem para cá.

Fontes: gbhackers.com ↗ securityonline.info ↗ patchstack.com ↗

WordPress 7.1.5, released on 18 November 2026, is a security release that fixes 20 issues, and the release notes urge site owners to update immediately (gbhackers.com). Patchstack counts 18 of them as vulnerabilities and the other two as hardening changes with no exploitable path (patchstack.com, securityonline.info). The most serious flaw is a privilege escalation through Template Part block attributes. An unauthenticated attacker can use it to run code in an administrator's browser, and the release note says it can lead to remote code execution. It was reported by Logan Homolka. None of the sources states exploitation in the wild or a public proof-of-concept. No CVE IDs, CVSS scores or vendor advisories were available when the sources were written. All three sources worked from the release notes or Patchstack's own analysis.

Entenda a falha

A vulnerabilidade

WordPress 7.1.5 (18 Nov 2026) fixes 20 issues in core and the bundled Gutenberg packages: 18 vulnerabilities and 2 hardening changes. No CVE IDs have been published. The most severe is an unauthenticated privilege escalation through Template Part block attributes. It runs code in an administrator's browser, and the release note says it can lead to remote code execution. Next are an unauthenticated stored XSS via comment shortcode attributes (it needs a page with a Latest Comments block) and a multisite takeover of a Super Admin by a site Administrator through Customizer menu previews. The release also fixes two SQL injections (WP_Meta_Query and Customizer front-page previews), eight XSS issues, REST API dispatch from an admin page, information disclosure and an unauthenticated XML-RPC pingback DoS. Patched releases exist for older branches (7.0.9, 6.9.12, 4.7.40 per gbhackers.com); 4.6 and earlier get none. The sources disagree on how many issues are unauthenticated: Patchstack says two, securityonline.info four.

Como funciona

In the Template Part case, the block editor takes an entity key from the block's own attributes and the core-data store appends it to a REST base path. A key with dot segments, an encoded slash, ? or makes the editor send a request, carrying the logged-in user's cookies and nonce, to a different endpoint. Patchstack says the step to code execution uses the administrator's plugin-installation endpoints. The attacker only needs the block markup to be opened by someone with that access. In the comment case, text with no angle brackets passes the save-time filter. Later shortcode_parse_atts() decodes escapes into < when a Latest Comments block feeds the excerpt into the post's shortcode pass, and the result is printed. In the admin case, the legacy media popup hands all of $_GET to wp(), so a rest_route value makes the REST API respond inside an HTML page.

Por que é vulnerável

The causes are missing validation and sanitization. Core-data concatenated an unchecked key into REST paths. shortcode_parse_atts() ran stripcslashes() after the comment filter, so escapes decoded into markup. Customizer previews skipped sanitize_option(), letting a previewed show_on_front reach a raw interpolation in WP_Query. The nav menu hash reused the same construction as the widgets code with no domain separation, and the Comment Date format was printed unescaped. The fixes add isSafeEntityKey(), decoding to character references, an early return in rest_api_loaded() for admin, sanitize_option() on previews plus $wpdb->prepare(), a customize_nav_menu_args| hash prefix and esc_html().

Onde está

Named in the Patchstack article: core-data (isSafeEntityKey() added to getEntityRecord, saveEntityRecord, deleteEntityRecord, canUser and the revision and autosave resolvers), shortcode_parse_atts(), rest_api_loaded(), sanitize_option(), WP_Customize_Nav_Menus::hash_nav_menu_args(), and render_block_core_comment_date() in wp-includes/blocks/comment-date.php; WP_Meta_Query is named for the other SQL injection.

Como foi descoberta

Per the articles, WordPress credited Logan Homolka with the Template Part flaw, Yuval Miller with the multisite Super Admin takeover, Rafie Muhammad with the comment shortcode XSS, Christiaan Swiers with the WP_Meta_Query SQL injection and Rudy Faile of the WordPress Security Team with the Customizer SQL injection. The articles do not say how they found them. The fixes shipped in a coordinated security release. Patchstack analysed the release and added 18 of the 20 fixes to its database. The RCE claim comes from the release note; Patchstack says the diff alone shows REST path injection. Five fixes come from a Gutenberg package bump that the documented file list omits. No exploitation in the wild is stated.

Explicação gerada por IA a partir da matéria e dos artigos, em 19/11/2026 12:19.

Detalhes técnicos

  • Template Part block attributes (unauthenticated): the core-data store built REST paths by string concatenation from the entity key. A crafted key (dot segments, an encoded slash, ? or #) makes the editor send a request with the logged-in user's cookies and nonce to an attacker-chosen endpoint. Patchstack says the step to RCE uses the administrator's plugin-installation endpoints (patchstack.com).
  • Multisite Super Admin takeover: a site Administrator can take over a Super Admin account through Customizer menu previews (reported by Yuval Miller, per securityonline.info and gbhackers.com). hash_nav_menu_args() used the same hash construction as the Customizer widgets code (patchstack.com).
  • Shortcode attribute escapes in comments (unauthenticated stored XSS, reported by Rafie Muhammad per gbhackers.com): shortcode_parse_atts() ran stripcslashes(), so \x3c decoded to < after the comment filter had run. It needs a page with a Latest Comments block (patchstack.com).
  • Two SQL injections: one in WP_Meta_Query via nested relation values (Christiaan Swiers). The other is in the front-page setting of Customizer changeset previews (Rudy Faile of the WordPress Security Team). Previewed option values skipped sanitize_option(), so a previewed show_on_front could steer $reqpage into a raw interpolation in WP_Query (patchstack.com). gbhackers.com says both are distinct from the All-in-One WP Migration plugin flaw.
  • REST API served from an admin page: the legacy media popup passed all of $_GET to wp(), so a rest_route parameter dispatched the REST API and the response rendered as HTML (patchstack.com).
  • Comment Date block: the format attribute was printed unescaped, giving XSS that needs no interaction and renders for every visitor (patchstack.com).
  • Other XSS and script injection (eight XSS fixes in total, per securityonline.info): these cover oEmbed responses, Openverse image metadata, media filenames and the legacy media library popup. Most need an account from Contributor up to Administrator.
  • Information disclosure: the REST API search endpoint exposed private taxonomy terms to unauthenticated users. Author-level users could read user emails through the REST API comments endpoint, and Subscribers could read comments through XML-RPC wp.getComments (securityonline.info).
  • Other: unauthenticated denial of service through batched XML-RPC pingbacks, and an authorization bypass that let Author-level users edit comments.
  • Hardening: JSON media type matching is tighter and the outdated Imgur embed option is removed (gbhackers.com).
  • Fixes: isSafeEntityKey() in core-data; a decoder change that turns hex or octal escapes for <, >, " and ' into character references; an early return in rest_api_loaded() when WP_ADMIN is defined; previewed values run through sanitize_option(); a customize_nav_menu_args| prefix on the hash; and esc_html() on the comment date. Five fixes come from a Gutenberg package bump rather than the core PHP backport. The documented list of eighteen revised files omits comment-date.php, three bundled JavaScript packages and script-loader-packages.php (patchstack.com).

Remediação

  • Update to 7.1.5 from Dashboard → Updates → Update Now, or from WordPress.org. Sites with automatic background updates should receive it, but verify that the update succeeded on each installation.
  • Patched releases exist for older branches, including 7.0.9, 6.9.12 and 4.7.40 (gbhackers.com). Versions 4.6 and earlier get no security updates (patchstack.com, gbhackers.com).
  • Check multisite networks first because of the Super Admin takeover, and audit the site Administrator list there. Audit Contributor-and-above accounts (patchstack.com).
  • Disable XML-RPC if it is not needed, and review comments for suspicious shortcodes (securityonline.info).

Relatos divergentes

  • Number of fixes: gbhackers.com and patchstack.com speak of 20 fixes. securityonline.info headlines 18 flaws plus two hardening changes. Patchstack's breakdown (18 vulnerabilities and two hardening changes) reconciles the two figures.
  • Unauthenticated entry points: patchstack.com says two issues start with an unauthenticated visitor. securityonline.info lists four unauthenticated issues: Template Part, comment shortcode XSS, private taxonomy term disclosure and XML-RPC pingback DoS. The difference is probably that Patchstack counts only the chains that end in an administrator's browser.
  • Older-branch backports: securityonline.info says the release notes list no affected versions or backports. gbhackers.com names 7.0.9, 6.9.12 and 4.7.40, and patchstack.com says every branch back to 4.7 has a patched release. The more specific, later-reported branch information is the more useful, but none of it was checked against a vendor advisory.
  • Exploitation status: securityonline.info says the release notes mention no exploitation or public proof-of-concept, and none has been confirmed. The other two sources do not state exploitation status either way, so the absence of exploitation is unconfirmed.

Linha do tempo

  1. gbhackers.com ↗ · pub. 19/11/2026 02:42 · coletado 19/11 04:00

    WordPress 7.1.5 Fixes 20 Security Issues Including Unauthenticated Privilege Escalation, Two SQL Injections and Stored XSS

    ler a análise desta fonte

    WordPress released version 7.1.5 on November 18, 2026, fixing 20 security issues, and the release notes urge site owners to update immediately. The most serious fix is in the Template Part block. The article says an unauthenticated attacker could gain elevated privileges and potentially execute code remotely. The report credits Logan Homolka. This record is based on the article alone. No web research was done, so there are no CVE IDs, CVSS scores, GHSA IDs or exploitation-in-the-wild status. The article does not say whether any flaw is exploited in the wild.

    Technical Details

    • Template Part block: privilege escalation, possibly leading to remote code execution, by an unauthenticated attacker (Logan Homolka).
    • Multisite: the Customizer menu preview lets an Administrator of one site take over a Super Admin account (Yuval Miller).
    • SQL injection: two core flaws. One is in WP_Meta_Query (Christiaan Swiers). The other is in front-page settings in Customizer changeset previews (Rudy Faile of the WordPress Security Team). The article says both are distinct from the All-in-One WP Migration plugin flaw.
    • Stored XSS: unauthenticated, via comment shortcode attributes (Rafie Muhammad).
    • Other XSS and script injection: reflected XSS in the legacy media library popup, and script injection through oEmbed responses, Openverse image metadata and media filenames in the block editor.
    • Information exposure: the REST API allowed unauthenticated access to private taxonomy terms. A comments endpoint exposed user email addresses to Author accounts and above.
    • Other: an unauthenticated denial of service through XML-RPC pingbacks, and an authorization bypass in comment editing for Author roles and above.
    • Hardening: JSON media type matching is tighter, and the outdated Imgur embed option is removed.

    Remediation

    • Update through Dashboard → Updates → Update Now.
    • Verify that automatic background updates succeeded, and check each installation individually.
    • Patched releases exist for older branches: 7.0.9, 6.9.12 and 4.7.40. Versions 4.6 and earlier get no further security updates.
  2. securityonline.info ↗ · pub. 18/11/2026 23:38 · coletado 19/11 00:00

    WordPress 7.1.5 patches 18 core flaws, including unauthenticated privilege escalation via Template Part block

    ler a análise desta fonte

    WordPress 7.1.5 fixes 18 security vulnerabilities in core and adds two hardening changes. The most serious flaw is an unauthenticated privilege escalation through Template Part block attributes. The release notes say it could lead to remote code execution. The article says the release notes mention no exploitation or public proof-of-concept, and none has been confirmed. No CVE IDs have been published yet. This summary is based on the article alone, and no vendor advisory was consulted.

    Technical Details

    • Four issues are unauthenticated: the Template Part privilege escalation, stored XSS through shortcode attributes in comments, private taxonomy term disclosure through the REST API search endpoint, and denial of service through batched XML-RPC pingbacks.
    • Logan Homolka reported the Template Part flaw. Yuval Miller found a multisite bug that lets a site Administrator take over a Super Admin account through Customizer menu previews.
    • Two SQL injection bugs affect WP_Meta_Query (nested relation values) and the front page setting in Customizer changeset previews.
    • Eight XSS fixes cover oEmbed responses, the Comment Date block, media filenames, Openverse image metadata and the legacy media library popup. Most need an account, from Contributor up to Administrator.
    • Four information disclosure bugs include Author-level users reading user emails through the REST API comments endpoint and Subscribers reading comments through XML-RPC wp.getComments. An authorization bypass let Author-level users edit comments.
    • The release notes do not list affected versions or backports for older branches.

    Remediation

    • Update to WordPress 7.1.5. Sites with automatic background updates should receive it without action. Confirm the version under Dashboard, then Updates.
    • Check multisite networks first because of the Super Admin takeover bug.
    • Disable XML-RPC if it is not needed.
    • Review comments for suspicious shortcodes.
  3. patchstack.com ↗ · pub. 18/11/2026 15:17 · coletado 18/11 16:02 primeiro registro

    WordPress 7.1.5 security release fixes 20 flaws, including unauthenticated-to-admin XSS chains and a path to RCE

    ler a análise desta fonte

    WordPress 7.1.5, released on 18 November 2026, is a security release with twenty fixes. Patchstack added eighteen of them to its database as vulnerabilities, and the other two are hardening changes with no exploitable path. Five of the fixes come from a Gutenberg package bump rather than the core PHP backport, so the official file list does not show them. Two issues start with an unauthenticated visitor and end in an administrator's browser, and the release note says one of them can lead to remote code execution. The analysis comes from Patchstack's article alone. No CVE IDs, CVSS scores or vendor advisories for 7.1.5 were checked, and no exploitation in the wild is stated.

    Technical Details

    • Template Part block attributes: the core-data store built REST paths by string concatenation from the entity key. A crafted key (dot segments, an encoded slash, ? or #) makes the editor send a request with the logged-in user's cookies and nonce to an attacker-chosen endpoint. Patchstack says the step to RCE uses the administrator's plugin-installation endpoints.
    • Shortcode attribute escapes in comments: shortcode_parse_atts() ran stripcslashes() on attribute values. As a result \x3c decoded to < after the comment filter had already run. This needs a page with a Latest Comments block.
    • REST API served from an admin page: the legacy media popup passed all of $_GET to wp(), so a rest_route parameter dispatched the REST API and the response rendered as HTML.
    • Customizer preview: previewed option values skipped sanitize_option(). A previewed show_on_front could steer $reqpage into a raw interpolation in WP_Query, giving SQL injection.
    • Nav menu hash: hash_nav_menu_args() used the same hash construction as the Customizer widgets code. On multisite this is the difference between a site Administrator and a Super Admin.
    • Comment Date block: the format attribute was printed unescaped, giving XSS that needs no interaction and renders for every visitor.

    Fix Details

    The fixes include isSafeEntityKey() in core-data, a decoder change that turns hex or octal escapes for <, >, " and ' into character references, an early return in rest_api_loaded() when WP_ADMIN is defined, previewed values run through sanitize_option(), a customize_nav_menu_args| prefix on the hash, and esc_html() on the comment date. The documented list of eighteen revised files omits comment-date.php, three bundled JavaScript packages and script-loader-packages.php.

    Remediation

    Update to 7.1.5 from the Dashboard or WordPress.org. Auto-updating sites receive it automatically. Every branch back to 4.7 has a patched release, and 4.6 and earlier get no security updates. Audit Contributor-and-above accounts, and on multisite also the site Administrator list.