CVE-2025-12135CWE-79cross-site-scripting

CVE-2025-12135

High · published November 21, 2025

CVSS v3.1
7.2
EPSS
0%
Percentile
22.3
In the wild
Unconfirmed
What it is

⚡ Heads up, WordPress users! The WPBookit plugin has a sneaky Stored XSS vulnerability lurking in the 'css_code' parameter, which could let attackers inject malicious scripts! 🚨 Think of it like a restaurant that allows customers to write their own specials on the menu without checking what they say—one bad dish can ruin the experience for everyone else! An attacker could inject harmful scripts that execute when users access affected pages, potentially leading to session hijacking, data theft, or even defacing your website. This can be absolutely devastating, especially for users who trust your site!

Put simply

Think of it like a restaurant that allows customers to write their own specials on the menu without checking what they say—one bad dish can ruin the experience for everyone else! This vulnerability arises from a missing capability check in the save_custom_code() function, which allows unauthenticated attackers to inject arbitrary JavaScript into the site, making it a prime candidate for exploitation.

What to do

An attacker could inject harmful scripts that execute when users access affected pages, potentially leading to session hijacking, data theft, or even defacing your website. This can be absolutely devastating, especially for users who trust your site! Update the WPBookit plugin to the latest version—1.0.7 or higher—to close this loophole. It's also a great idea to review your site's security settings and ensure capability checks are in place for all user inputs! You’ve got this! With a quick update, you can keep your site and users safe. 🛡️

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00307 · 22.3th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-11-21T13:15Z
References (7)
EPSS history
Timeline
  • 21 NOV 07:31Z
    WPBookit <= 1.0.6 - Unauthenticated Stored Cross-Site Scripting
    cvelistv5