# CVE-2025-12717: List Attachments Shortcode <= 0.4.1a - Authenticated (Author+) Stored Cross-Site Scripting via list-attachments Shortcode

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-12-06T05:49:31.600Z
- Modified: 2026-10-15T20:10:00.197Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- cgrymala List Attachments Shortcode: up to 0.4.1a

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/a67b4ec2-b337-478f-aaaa-2ce19c4deb4c?source=cve>
- <https://plugins.trac.wordpress.org/browser/list-attachments-shortcode/tags/0.6a/class-list-attachments-shortcode.php#L47>
- <https://plugins.trac.wordpress.org/browser/list-attachments-shortcode/tags/0.6a/class-list-attachments-shortcode.php#L85>

## Sources

- CVE List: [CVE-2025-12717](https://www.cve.org/CVERecord?id=CVE-2025-12717), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-12717](https://nvd.nist.gov/vuln/detail/CVE-2025-12717), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-12717 · Whole record: https://cve.day/CVE-2025-12717.json · Rebuilt by cve.day 2026-11-25T22:59:08.359Z
