PT-2026-31286 · WordPress · Privatecontent Free

Published

2026-04-08

·

Updated

2026-04-12

·

CVE-2026-4025

CVSS v3.1

6.4

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions PrivateContent Free versions up to and including 1.2.0
Description The PrivateContent Free plugin for WordPress is susceptible to Stored Cross-Site Scripting through the 'align' shortcode attribute within the [pc-login-form] shortcode. This occurs due to inadequate input sanitization and output escaping on the align attribute. The attribute value is passed from the shortcode through the pc login form() function to the pc static::form align() function, where it is directly added to an HTML class attribute without proper escaping. This allows authenticated attackers with Contributor-level access or higher to inject malicious web scripts into pages, which will execute when a user visits the affected page.
Recommendations Update PrivateContent Free to a version later than 1.2.0.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-4025

Affected Products

Privatecontent Free