CVE-2026-4025
Received Received - Intake
Stored XSS in PrivateContent Free WordPress Plugin (pc-login-form

Publication date: 2026-04-08

Last updated on: 2026-04-08

Assigner: Wordfence

Description
The PrivateContent Free plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'align' shortcode attribute in the [pc-login-form] shortcode in all versions up to, and including, 1.2.0. This is due to insufficient input sanitization and output escaping on the 'align' attribute. Specifically, the attribute value flows from the shortcode through pc_login_form() to pc_static::form_align(), where it is directly concatenated into an HTML class attribute without esc_attr() or any 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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-08
Last Modified
2026-04-08
Generated
2026-05-07
AI Q&A
2026-04-08
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
privatecontent free_plugin to 1.2.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the PrivateContent Free plugin for WordPress, specifically in versions up to and including 1.2.0. It is a Stored Cross-Site Scripting (XSS) issue that arises from improper handling of the 'align' shortcode attribute in the [pc-login-form] shortcode.

The problem occurs because the 'align' attribute value is passed through functions without proper sanitization or escaping before being inserted into an HTML class attribute. This allows authenticated users with Contributor-level access or higher to inject malicious scripts that will execute whenever any user views the affected page.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows authenticated attackers with Contributor-level access and above to inject arbitrary web scripts via Stored Cross-Site Scripting (XSS). This can lead to unauthorized access to user data or session hijacking, which may compromise the confidentiality and integrity of personal information.

Such security weaknesses can impact compliance with standards and regulations like GDPR and HIPAA, which require protection of personal data against unauthorized access and ensuring data integrity and confidentiality.

However, the provided information does not explicitly state the direct impact on compliance with these regulations.


How can this vulnerability impact me? :

This vulnerability can allow attackers with Contributor-level access or above to inject arbitrary malicious scripts into pages on your WordPress site.

When other users visit these pages, the injected scripts will execute in their browsers, potentially leading to theft of sensitive information, session hijacking, or other malicious actions.

Because the vulnerability is a Stored Cross-Site Scripting flaw, the malicious code persists on the site and affects all users who access the compromised content.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart