CVE-2025-14851: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in yhunter YaMaps for WordPress Plugin
The YaMaps for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `yamap` shortcode parameters in all versions up to, and including, 0.6.40 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-14851 identifies a stored Cross-Site Scripting vulnerability in the YaMaps for WordPress plugin developed by yhunter. The vulnerability stems from improper neutralization of input during web page generation, specifically in the handling of the `yamap` shortcode parameters. All versions up to and including 0.6.40 are affected. The plugin fails to sufficiently sanitize and escape user-supplied attributes, allowing authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the malicious script is stored, it executes every time the infected page is accessed by any user, potentially compromising user sessions, stealing credentials, or enabling further attacks such as privilege escalation or malware distribution. The vulnerability requires no user interaction but does require authenticated access with contributor or higher privileges, which limits the attack surface but still poses a significant risk in multi-user WordPress environments. The CVSS 3.1 score of 6.4 reflects a medium severity, with network attack vector, low attack complexity, and partial confidentiality and integrity impact but no availability impact. No patches or exploit code are currently publicly available, and no known active exploitation has been reported. The vulnerability is classified under CWE-79, a common and well-understood category of web application security flaws.
Potential Impact
For European organizations, this vulnerability could lead to unauthorized script execution on their WordPress sites, risking user session hijacking, data theft, defacement, and erosion of trust. Organizations with multiple contributors or editors on WordPress sites are particularly vulnerable since the attack requires authenticated contributor-level access. The impact is heightened for public-facing websites, e-commerce platforms, and portals handling sensitive user data. Exploitation could facilitate further attacks such as phishing, malware delivery, or lateral movement within the network. Given the widespread use of WordPress across Europe, especially in sectors like media, education, and government, the vulnerability could affect a broad range of organizations. The absence of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers often weaponize such vulnerabilities once disclosed. The medium severity rating suggests moderate risk, but the scope of affected systems and potential for persistent compromise warrant proactive mitigation.
Mitigation Recommendations
European organizations should immediately audit WordPress sites using the YaMaps plugin and restrict contributor-level access to trusted users only. Implement strict input validation and output escaping for all shortcode parameters, especially `yamap`. Since no official patch is currently available, consider disabling or removing the YaMaps plugin until a secure version is released. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious shortcode injections. Monitor logs for unusual shortcode usage or unexpected script injections. Educate content contributors about the risks of injecting untrusted content. Regularly update WordPress core and plugins to minimize exposure to known vulnerabilities. Additionally, conduct periodic security assessments and penetration tests focusing on user input handling in plugins. Prepare incident response plans to quickly address any detected exploitation attempts.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-14851: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in yhunter YaMaps for WordPress Plugin
Description
The YaMaps for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `yamap` shortcode parameters in all versions up to, and including, 0.6.40 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Technical Analysis
CVE-2025-14851 identifies a stored Cross-Site Scripting vulnerability in the YaMaps for WordPress plugin developed by yhunter. The vulnerability stems from improper neutralization of input during web page generation, specifically in the handling of the `yamap` shortcode parameters. All versions up to and including 0.6.40 are affected. The plugin fails to sufficiently sanitize and escape user-supplied attributes, allowing authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the malicious script is stored, it executes every time the infected page is accessed by any user, potentially compromising user sessions, stealing credentials, or enabling further attacks such as privilege escalation or malware distribution. The vulnerability requires no user interaction but does require authenticated access with contributor or higher privileges, which limits the attack surface but still poses a significant risk in multi-user WordPress environments. The CVSS 3.1 score of 6.4 reflects a medium severity, with network attack vector, low attack complexity, and partial confidentiality and integrity impact but no availability impact. No patches or exploit code are currently publicly available, and no known active exploitation has been reported. The vulnerability is classified under CWE-79, a common and well-understood category of web application security flaws.
Potential Impact
For European organizations, this vulnerability could lead to unauthorized script execution on their WordPress sites, risking user session hijacking, data theft, defacement, and erosion of trust. Organizations with multiple contributors or editors on WordPress sites are particularly vulnerable since the attack requires authenticated contributor-level access. The impact is heightened for public-facing websites, e-commerce platforms, and portals handling sensitive user data. Exploitation could facilitate further attacks such as phishing, malware delivery, or lateral movement within the network. Given the widespread use of WordPress across Europe, especially in sectors like media, education, and government, the vulnerability could affect a broad range of organizations. The absence of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers often weaponize such vulnerabilities once disclosed. The medium severity rating suggests moderate risk, but the scope of affected systems and potential for persistent compromise warrant proactive mitigation.
Mitigation Recommendations
European organizations should immediately audit WordPress sites using the YaMaps plugin and restrict contributor-level access to trusted users only. Implement strict input validation and output escaping for all shortcode parameters, especially `yamap`. Since no official patch is currently available, consider disabling or removing the YaMaps plugin until a secure version is released. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious shortcode injections. Monitor logs for unusual shortcode usage or unexpected script injections. Educate content contributors about the risks of injecting untrusted content. Regularly update WordPress core and plugins to minimize exposure to known vulnerabilities. Additionally, conduct periodic security assessments and penetration tests focusing on user input handling in plugins. Prepare incident response plans to quickly address any detected exploitation attempts.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-12-17T19:27:18.395Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699697f46aea4a407a3be099
Added to database: 2/19/2026, 4:56:20 AM
Last enriched: 2/19/2026, 5:26:41 AM
Last updated: 2/20/2026, 9:48:22 PM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-2858: Out-of-Bounds Read in wren-lang wren
MediumCVE-2026-27120: CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in vapor leaf-kit
MediumCVE-2026-27118: CWE-346: Origin Validation Error in sveltejs kit
MediumCVE-2026-27112: CWE-863: Incorrect Authorization in akuity kargo
CriticalCVE-2026-27111: CWE-862: Missing Authorization in akuity kargo
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.