Description
The List Attachments Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'before_list' parameter in the [list-attachments] shortcode in all versions up to, and including, 0.4.1a due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2025-12-06
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via Author‑level access
Action: Patch Immediately
AI Analysis

Impact

The List Attachments Shortcode plugin for WordPress contains a stored cross‑site scripting flaw that allows an authenticated user with Author role or higher to inject arbitrary scripts via the before_list parameter of the [list-attachments] shortcode. The injected payload is stored and subsequently executed whenever a user views a page containing the malicious shortcode, compromising the integrity of the site and potentially exposing user session information.

Affected Systems

WordPress sites running the List Attachments Shortcode plugin version 0.4.1a or earlier. The vulnerability applies to all releases up to 0.4.1a, including older tags such as 0.4.1a and previous 0.4.x versions.

Risk and Exploitability

The CVSS score of 6.4 classifies this as a moderate‑severity issue. The EPSS estimate of less than 1% indicates a very low probability of exploitation at the time of analysis, and it is not listed in the CISA KEV catalog. Attackers must possess Author or higher privileges to insert or edit the shortcode; once the malicious code is stored, it affects all site visitors who load the affected page. The vulnerability arises from insufficient input sanitization and output escaping as documented in the plugin source code.

Generated by OpenCVE AI on April 21, 2026 at 01:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the List Attachments Shortcode plugin to a version newer than 0.4.1a.
  • If an update is not immediately possible, remove or disable the before_list parameter usage from all posts using the shortcode.
  • Consider revoking Author privileges for users who do not require content editing capabilities to reduce the attack surface.

Generated by OpenCVE AI on April 21, 2026 at 01:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Dec 2025 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Mon, 08 Dec 2025 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 06 Dec 2025 06:00:00 +0000

Type Values Removed Values Added
Description The List Attachments Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'before_list' parameter in the [list-attachments] shortcode in all versions up to, and including, 0.4.1a due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title List Attachments Shortcode <= 0.4.1a - Authenticated (Author+) Stored Cross-Site Scripting via list-attachments Shortcode
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:13:30.589Z

Reserved: 2025-11-04T20:41:28.945Z

Link: CVE-2025-12717

cve-icon Vulnrichment

Updated: 2025-12-08T21:32:11.099Z

cve-icon NVD

Status : Deferred

Published: 2025-12-06T06:15:50.563

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-12717

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T01:15:20Z

Weaknesses