Skip to main content

No External Links CVE-2026-131591

| EUVDEUVD-2026-141338 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-12-02 Wordfence GHSA-j4mq-mq5x-x4f4
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit comment with crafted href
  2. Delivery
    Moderator approves comment, link shortening enabled
  3. Exploit
    Front-end view triggers mask insertion
  4. Execution
    Administrator opens wp-admin Masks screen
  5. Impact
    Stored script executes in admin session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation is gated by three concrete preconditions stated in the advisory: (1) the plugin's link-shortening feature must be enabled in settings - a non-default configuration; (2) a comment containing a crafted href must be submitted by an unauthenticated user AND subsequently APPROVED through comment moderation; and (3) at least one front-end page view must trigger the mask insertion before an administrator opens the admin Masks screen, where the stored URL/mask value is rendered without escaping (admin/MaskTable.php lines 182/197). The payload therefore executes in the authenticated wp-admin context when an administrator views the Masks screen. Limiting factors that reduce realistic risk: dependence on the optional link-shortening setting, the mandatory comment-approval step (a privileged action), and the requirement that an administrator subsequently load the Masks screen - none of which an unauthenticated attacker controls directly.

Impact

The vendor CVSS of 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C) frames this as a high-severity network-reachable, unauthenticated stored XSS, but the signals do not all point the same way and the real-world priority is lower than the base score suggests. The description imposes a multi-condition chain - link shortening must be enabled (a non-default plugin setting), a malicious comment must be APPROVED (a privileged moderation action the CVSS PR:N does not capture), and a front-end page view must trigger mask insertion before an administrator opens the Masks screen - which is inconsistent with the AC:L/UI:N in the supplied vector; this disagreement should be verified with the vendor. No EPSS score is provided, so probabilistic exploitation likelihood cannot be weighed. The CVE is not listed in CISA KEV and no working exploit code is identified (the references are Wordfence threat-intel, WordPress.org trac source lines, and the fix PR - not a PoC). SSVC-style inputs are limited to the vuln.today 'this_week' decision label, which signals attention this week rather than emergency action. Net: a genuine stored-XSS flaw affecting the wp-admin Masks screen, but gated by moderation and non-default configuration, making targeted/opportunistic abuse plausible rather than mass exploitation.

Exploit ScenarioDerived

An unauthenticated visitor submits a blog comment containing a crafted href; on a site with link shortening enabled, the plugin stores a mask whose URL/mask value is later rendered without escaping on the admin Masks screen. Once a moderator approves the comment and a front-end view triggers mask insertion, the injected script executes in the administrator's authenticated session when they open the Masks screen. No verified public exploit code exists; the fix PR #50 confirms the unescaped sinks in MaskTable.php.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Stored cross-site scripting in the WordPress plugin No External Links (all versions up to and including 5.3.0) allows an unauthenticated commenter to plant a crafted href that the plugin later renders unescaped in the administrator's Masks screen, executing script in the wp-admin context. The vendor rates it CVSS 7.2 (AV:N/AC:L/PR:N/UI:N/S:C), while the independent assessment scores it 7.2 at AC:H/UI:R because three preconditions gate exploitation: link shortening must be enabled (a non-default setting), a comment containing the crafted href must be submitted and then approved through moderation, and a front-end page view must trigger the mask insertion before an administrator opens the Masks screen. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV; priority is this_week rather than act_now, reflecting the moderation and configuration dependencies. A test asserting the escaping fix ships alongside a public fix reference.

RemediationAI

Upgrade No External Links to version 5.3.1, the release that bumps the plugin header and MIHDAN_NO_EXTERNAL_LINKS_VERSION, adds esc_html() to the url and mask columns in admin/MaskTable.php, and adds esc_url()/esc_url_raw() to public/Frontend.php; the changeset is at https://plugins.trac.wordpress.org/changeset/3828114/mihdan-no-external-links/trunk/admin/MaskTable.php and the fix PR at https://github.com/mihdan/mihdan-no-external-links/pull/50. Where 5.3.1 cannot be deployed immediately, remove exposure by addressing the stated preconditions rather than relying on generic hardening: disable the plugin's link-shortening feature in settings (the flaw's input path and mask insertion are only reachable with it on, but masking functionality is lost), and keep comments with crafted hrefs from being approved or hold moderation until the update is applied (this depends on moderator diligence and does not fix the missing output escaping). Administrators should also avoid loading the Masks screen until the upgrade lands, since that screen is where the stored value renders - an operational workaround that leaves the payload dormant in the database. Full advisory: https://www.wordfence.com/threat-intel/vulnerabilities/id/265f3f65-3cf3-49a0-9745-e99c2e61c59c?source=cve.

Affected VersionsENISA

No External Links 0 ≤5.3.0

Affected Packages

euvd no_external_links no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

No External Links is a WordPress plugin that rewrites outbound links, optionally shortening and 'masking' them into stored URLs; the masked values live in a custom database table and are displayed through a WP_List_Table subclass in wp-admin (admin/MaskTable.php). The root cause is CWE-79: in version 5.3.0 the column_default() renderer concatenated $item['url'] into a <strong> element and returned $item['mask'] directly, so stored attacker-influenced values reached the admin page as HTML instead of text. The input side is equally relevant - public/Frontend.php's shorten_link() restored the original URL with html_entity_decode() and mask_link() wrote $url straight into an href attribute, so a comment-supplied link carrying entity-encoded markup or a javascript:/data: scheme survived into the mask record. The upstream fix (PR 50, changeset 3828114) applies esc_html() to both the title and mask columns, esc_url() to the rebuilt href in mask_link(), and esc_url_raw( html_entity_decode( ... ) ) in shorten_link(), and adds tests/MaskTableEscapingTest.php plus a readme note describing it as 'an extra security hardening layer for link shortening and the Masks screen'. Note the discrepancy between the vendor vector (AC:L/UI:N) and the assessed vector (AC:H/UI:R): the trigger requires an approved comment and a prior front-end page view, so the practical attack complexity is higher than the base metrics imply.

Know when No External Links gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 4.7 MEDIUM

Unauthenticated comment injection (PR:N) but exploitation needs non-default link shortening, moderator approval, and timing before an admin views the Masks screen (AC:H, UI:R); script runs in the admin context (S:C) with limited C/I impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The No External Links plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 5.3.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires that link shortening be enabled in the plugin settings, that a malicious comment containing a crafted href be approved, and that at least one front-end page view trigger the mask insertion before an administrator opens the Masks screen.

Executive ViewAI

Why It Matters

A high-severity stored cross-site scripting vulnerability in the WordPress plugin No External Links (up to version 5.3.0) enables unauthenticated commenters to inject malicious scripts that execute in the administrator's browser, potentially leading to full site compromise. Although exploitation requires non-default settings and moderation approval, the risk to organizations with this plugin is significant due to the potential for administrative account takeover and data breaches. Leadership should prioritize remediation this week to mitigate reputational and operational risks.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable link shortening in plugin settings, enforce strict comment moderation and escaping of user-supplied content, deploy WAF rules to filter malicious href attributes, and restrict administrator access to trusted networks.

Threat Intelligence Overview

EPSS Score
0.8%
Top 43% exploitable
Prevalence
Low
niche WordPress link-masking plugin, modest install base
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy