VYPR
Unrated severityNVD Advisory· Published Jun 12, 2023· Updated Jan 3, 2025

File Away <= 3.9.9.0.1 - Contributor+ Stored XSS via Shortcode

CVE-2023-0431

Description

The File Away WordPress plugin through 3.9.9.0.1 does not validate and escape one of its shortcode attributes, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attack.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Missing input validation and output escaping on a shortcode attribute allows stored cross-site scripting."

Attack vector

An attacker with a role as low as Contributor can inject malicious JavaScript into a shortcode attribute that the plugin fails to validate and escape [ref_id=1]. When the shortcode is rendered on a page, the unsanitized attribute is output directly into the page HTML, causing the attacker's script to execute in the context of any visitor's browser. This is a Stored Cross-Site Scripting (XSS) attack because the payload persists in the WordPress database via the shortcode [CWE-79].

Affected code

The vulnerability exists in the File Away WordPress plugin (versions through 3.9.9.0.1). The advisory does not specify the exact file or function name, but identifies that one of the plugin's shortcode attributes is not validated or escaped [ref_id=1].

What the fix does

The advisory states that no known fix is available for the File Away plugin through version 3.9.9.0.1 [ref_id=1]. To remediate the vulnerability, the plugin should validate and escape the vulnerable shortcode attribute before output, ensuring that any user-supplied data within the shortcode is properly sanitized to prevent script injection.

Preconditions

  • authThe attacker must have a WordPress user role of Contributor or higher.
  • configThe site must have the File Away plugin installed and activated (version through 3.9.9.0.1).
  • inputThe attacker must be able to create or edit posts/pages containing the vulnerable shortcode.

Reproduction

As a Contributor-level user, create a new post or page. Insert the vulnerable File Away shortcode with a malicious payload in the unsanitized attribute, for example: `[fileaway attribute="&lt;script&gt;alert('XSS')&lt;/script&gt;"]`. Publish or preview the post. When the page loads, the injected JavaScript executes in the browser of any user viewing the page [ref_id=1].

Generated on May 26, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

1

News mentions

0

No linked articles in our index yet.