Simple Custom Login Page <= 1.0.3 - Authenticated (Admin+) Stored Cross-Site Scripting
Published Jun 2, 2026
4.4
MEDIUMCVSS 3.1
EPSS 0.18%
Description
The Simple Custom Login Page plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the color settings fields (Page Background, Form Background, Text Color, Link Color) in versions up to and including 1.0.3. This is due to insufficient input sanitization of the color option values (they were registered with register_setting() and stored via the Settings API/update_option() with no sanitize_callback) combined with the values being output into a <style> block on wp-login.php using esc_attr(), which is incorrect for a CSS context (it does not escape ;, {, }, / or *). This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary CSS rules into the login page that are rendered for all unauthenticated visitors, enabling UI-redress and credential-phishing attacks.
Affected products
-
- Version 0StatusaffectedConstraints<=1.0.3
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Pattihis | Simple Custom Login Page | unaffected |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (3)
- https://plugins.trac.wordpress.org/browser/simple-custom-login-page/tags/1.0.3/admin/class-simple-custom-login-page-admin.php#L206
- https://plugins.trac.wordpress.org/browser/simple-custom-login-page/tags/1.0.3/includes/class-simple-custom-login-page.php#L248
- https://www.wordfence.com/threat-intel/vulnerabilities/id/96d03984-623a-44c7-a46f-e1aabbc566d5?source=cve
Change history (0)
No recorded changes yet.