CVE-2017-18012
No known patch is available for this vulnerability.
The affected plugin has been removed from the WordPress.org directory (reason: Security Issue), and no patched version is being distributed through the official directory. If you have the affected software installed, you should uninstall or replace it rather than wait for an update.
Description
CVE-2017-18012 is a cross-site scripting (XSS) vulnerability in the Z-URL Preview plugin 1.6.1 for WordPress via the url parameter in class.zlinkpreview.php.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
CVE-2017-18012 is a cross-site scripting (XSS) vulnerability in the Z-URL Preview plugin 1.6.1 for WordPress via the url parameter in class.zlinkpreview.php.
Vulnerability
The Z-URL Preview plugin version 1.6.1 for WordPress contains a reflected cross-site scripting (XSS) vulnerability in the url parameter of class.zlinkpreview.php [1]. The plugin fetches a preview of an external URL and reflects the input without proper sanitization, allowing injection of arbitrary HTML and JavaScript. Affected versions include 1.6.1 and possibly earlier releases [2].
Exploitation
An attacker can craft a malicious URL with embedded JavaScript and cause it to be processed by the vulnerable parameter. No authentication is required if the plugin's preview functionality is accessible to unauthenticated users, or the attacker can trick an authenticated user (e.g., an administrator) into clicking a crafted link. The injected script executes in the context of the victim's browser [1].
Impact
Successful exploitation results in cross-site scripting (XSS), enabling the attacker to execute arbitrary JavaScript in the victim's browser. This can lead to session hijacking, defacement, or theft of sensitive information such as cookies or credentials, with the privileges of the victim user [1].
Mitigation
The plugin has been closed and removed from the WordPress plugin directory as of June 28, 2019, due to a security issue [3][4]. No patched version was officially released; version 2.0.0 mentioned in the readme added URL validation and XSS checks but was never distributed [2]. Users are advised to uninstall the plugin immediately and seek alternatives. No other workaround is available.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2= 1.6.1+ 1 more
- (no CPE)range: = 1.6.1
- (no CPE)range: <=1.6.1
Patches
0z-url-previewThis plugin has been removed from the WordPress.org directory on 2019-06-28 (reason: Security Issue). No patched version is being distributed through the official directory. Users who have it installed should uninstall it.
Source: api.wordpress.org · directory page
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
5- packetstormsecurity.com/files/145218/WordPress-Z-URL-Preview-1.6.1-Cross-Site-Scripting.htmlmitrex_refsource_MISC
- plugins.svn.wordpress.org/z-url-preview/trunk/readme.txtmitrex_refsource_MISC
- wordpress.org/plugins/z-url-preview/mitrex_refsource_MISC
- wordpress.org/support/topic/z-url-preview-1-6-1-cross-site-scripting/mitrex_refsource_MISC
- wpvulndb.com/vulnerabilities/8990mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.