// For flags

CVE-2024-3903

Add Custom CSS and JS <= 1.20 - Stored XSS via CSRF

Severity Score

7.1
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

The Add Custom CSS and JS WordPress plugin through 1.20 does not have CSRF check in some places, and is missing sanitisation as well as escaping, which could allow attackers to make logged in as author and above add Stored XSS payloads via a CSRF attack

El complemento Add Custom CSS y JS de WordPress hasta la versión 1.20 no tiene verificación CSRF en algunos lugares y le falta sanitización y escape, lo que podría permitir a los atacantes iniciar sesión como autor y agregar payloads XSS almacenado a través de un ataque CSRF.

The Add Custom CSS and JS plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.20. This is due to missing or incorrect nonce validation on the custom_js_css page. This makes it possible for unauthenticated attackers to modify plugin settings and inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

*Credits: Bob Matyas, WPScan
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
Poc
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2024-04-17 CVE Reserved
  • 2024-04-18 CVE Published
  • 2024-05-09 EPSS Updated
  • 2024-08-01 CVE Updated
  • 2024-08-01 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-352: Cross-Site Request Forgery (CSRF)
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Unknown
Search vendor "Unknown"
Add Custom CSS And JS
Search vendor "Unknown" for product "Add Custom CSS And JS"
<= 1.20
Search vendor "Unknown" for product "Add Custom CSS And JS" and version " <= 1.20"
en
Affected