CVE-2026-111944

Custom CSS and JS <= 1.0 - Contributor+ Stored XSS via Unfiltered Post Meta

Published Dec 3, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
The Custom CSS and JS WordPress plugin through 1.0 does not sanitise or escape custom CSS and JavaScript stored as post meta before outputting it in the page head, allowing users with the contributor role and above to perform Stored Cross-Site Scripting attacks.

Analysis

AI-generated

Technical impact

The Custom CSS and JS WordPress plugin up to version 1.0 fails to sanitize or escape CSS and JavaScript content that is stored as post meta. Users with the contributor role or higher can inject arbitrary scripts via post meta that are later output unescaped in the page head, resulting in stored cross‑site scripting. This flaw can allow an attacker to deface a site, hijack user sessions, or perform phishing attacks within visitor browsers. Vulnerability classified under CWE‑79: Improper Neutralization of Input During Web Page Generation.

Affected Systems

The flaw affects the Custom CSS and JS WordPress plugin with versions 1.0 and any earlier releases. The plugin is available as a third‑party WordPress add‑on, and any WordPress installation employing this plugin where contributors or higher role users can add CSS or JS to post meta is vulnerable. No specific host OS or server configuration is cited; the impact depends solely on the presence of the plugin and the role permissions.

Risk and Exploitability

The CVSS score is not provided, and EPSS is not available. The vulnerability is not listed in CISA KEV. The attack requires a user with contributor or higher role to create or modify post meta with malicious code and a separate victim user to visit a page that includes the unsanitized meta. Because the vulnerability is stored, any subsequent page loads by any user render the malicious script. The lack of an exploit probability metric suggests limited public exploitation; however, the flaw remains a high‑risk vector within any site that grants contributor access to CSS or JS injection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Custom CSS and JS plugin to the latest revision that contains the appropriate input sanitization.
  • Revoke or restrict the contributor role’s capability to add CSS or JavaScript to post meta, limiting such permission to administrators only.
  • Deploy a custom sanitization filter that removes or escapes all script tags and inline events from post meta before the data is injected into the page head, or enforce a strict content‑security‑policy that prevents inline scripts.

Generated by OpenCVE AI on December 3, 2026 at 12:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
Description The Custom CSS and JS WordPress plugin through 1.0 does not sanitise or escape custom CSS and JavaScript stored as post meta before outputting it in the page head, allowing users with the contributor role and above to perform Stored Cross-Site Scripting attacks.
Title Custom CSS and JS <= 1.0 - Contributor+ Stored XSS via Unfiltered Post Meta
References

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Dec 3, 2026, 6:00 AM
Reserved
Oct 17, 2026, 1:50 PM
Status
Received
Published
Dec 3, 2026, 6:17 AM
Modified
Dec 3, 2026, 6:17 AM