Vulnerability Report
Plugin High Patch path listed CVE-2022-45374

YARPP <= 5.30.4 - Authenticated (Subscriber+) Local File Inclusion

The YARPP plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 5.30.4 via the yarpp shortcode due to insufficient validation on the 'template' user attribute. This allows subscriber-level attackers, and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

Quick Answer

CVE-2022-45374 is a high severity with CVSS 8.8 Local File Inclusion issue affecting the Plugin YARPP – Yet Another Related Posts Plugin. It affects Versions up to 5.30.4 and is fixed in 5.30.5.

Published
Apr 18, 2023
Last Updated
Jan 22, 2024
Slug
yet-another-related-posts-plugin
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 5.30.5, or a newer patched version
Operator Briefing

CVE-2022-45374 is tracked for the Plugin YARPP – Yet Another Related Posts Plugin as high severity with CVSS 8.8. The affected range is Versions up to 5.30.4. Update YARPP – Yet Another Related Posts Plugin to 5.30.5 or newer where that version is compatible with the site.

Issue Type
Local File Inclusion
Primary Fixed Version
5.30.5
Primary Affected Range
Versions up to 5.30.4
Tracking ID
CVE-2022-45374
Detailed Metadata
Software Type Plugin
Software Slug
yet-another-related-posts-plugin View on wordpress.org
CVE CVE-2022-45374
Patched Versions
5.30.5
Affected Versions
Versions up to 5.30.4
Related CVE Cluster

Related CVEs for YARPP – Yet Another Related Posts Plugin

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

High CVE-2023-0579 5.30.3 Apr 25, 2023
CVE-2023-0579 YARPP – Yet Another Related Posts Plugin SQL Injection

YARPP - Yet Another Related Posts Plugin <= 5.30.2 - Authenticated (Subscriber+) SQL Injection via Shortcode

Medium CVE-2023-2433 5.30.4 Jul 17, 2023
CVE-2023-2433 YARPP – Yet Another Related Posts Plugin Stored Cross-Site Scripting

YARPP – Yet Another Related Posts Plugin <= 5.30.3 - Authenticated (Contributor+) Stored Cross-Site Scripting

Medium CVE-2022-4471 5.30.3 Jan 19, 2023
CVE-2022-4471 YARPP – Yet Another Related Posts Plugin Stored Cross-Site Scripting

YARPP – Yet Another Related Posts Plugin <= 5.30.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Medium CVE-2024-43919 5.30.11 Aug 26, 2024
CVE-2024-43919 YARPP – Yet Another Related Posts Plugin Vulnerability

YARPP <= 5.30.10 - Missing Authorization

Medium CVE-2023-6495 5.30.10 Jun 18, 2024
CVE-2023-6495 YARPP – Yet Another Related Posts Plugin Stored Cross-Site Scripting

YARPP – Yet Another Related Posts Plugin <= 5.30.9 - Authenticated(Administrator+) Cross-Site Scripting

Medium CVE-2024-0602 5.30.10 Feb 20, 2024
CVE-2024-0602 YARPP – Yet Another Related Posts Plugin Stored Cross-Site Scripting

Yet Another Related Posts Plugin (YARPP) <= 5.30.9 - Authenticated(Administrator+) Stored Cross-Site Scripting via settings

Critical 4.2.5 May 08, 2015
YARPP – Yet Another Related Posts Plugin Remote Code Execution

YARPP – Yet Another Related Posts Plugin < 4.2.5 - Cross-Site Request Forgery

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more