S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Dec 22, 2025

CVE-2022-0873 Scanner

CVE-2022-0873 Scanner - Cross-Site Scripting (XSS) vulnerability in WordPress Gmedia Photo Gallery Plugin

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
2.4k
Times Used
continuous scan runs
5.5k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2022-0873
4.8
CVSS

The Gmedia Photo Gallery WordPress plugin before 1.20.0 does not sanitise and escape the Album's name before outputting it in pages/posts with a media embed, which could allow high privilege users such as admin to perform Cross-Site Scripting attacks even when the unfiltered-html capability is disallowed

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
Gmedia Photo Gallery
AFFECTED< 1.20.0SAFE ✓≥ 1.20.0
Updated Aug 22, 2026View on NVD →
Detail

The WordPress Gmedia Photo Gallery Plugin is a tool used by website administrators to create and manage media galleries on their WordPress sites. It is particularly popular among photographers and content creators who wish to organize and display their media files in a user-friendly and visually appealing manner. The plugin integrates with the WordPress platform and provides a range of customizable features, allowing users to create albums, slideshows, and other media presentations. Developed by Codeasily, the plugin is a robust solution for media management, widely used due to its flexibility and ease of use. It supports a variety of media types and formats, making it a versatile option for WordPress users. Despite its popularity, vulnerabilities like Cross-Site Scripting (XSS) can pose significant security risks, necessitating careful oversight and prompt updates.

Cross-Site Scripting (XSS) is a type of security vulnerability often found in web applications, allowing attackers to inject malicious scripts into content viewed by other users. The vulnerability stems from improper sanitization or escaping of input data, enabling attackers to execute arbitrary JavaScript or HTML in the context of other users. In the case of the WordPress Gmedia Photo Gallery Plugin, the vulnerability arises because the album's name is not properly sanitized or escaped before being output on pages or posts. This can lead to various malicious activities, especially when administered by users with high privileges. Successful exploitation of this vulnerability could lead to actions such as session hijacking and website defacement. Therefore, addressing XSS vulnerabilities is crucial for maintaining the security and integrity of web applications.

The Cross-Site Scripting (XSS) vulnerability in the WordPress Gmedia Photo Gallery Plugin exists because the album's name is not sanitized or escaped before it is displayed on pages or posts. High privilege users, such as administrators, can exploit this vulnerability even if the unfiltered-html capability is disallowed. The exploitation involves injecting arbitrary scripts into the album name, which are then executed when a user with appropriate privileges views the affected content. This occurs at the endpoint '/wp-admin/admin.php?page=GrandMedia_Albums' where input parameters related to the album can be manipulated. Attackers leverage this entry point to introduce scripts that could perform actions like capturing session tokens or altering page content. The successful exploitation is confirmed if the injected script executes upon saving the altered album information.

The exploitation of the Cross-Site Scripting (XSS) vulnerability could lead to severe consequences, especially when exploited by users with administrator privileges. Potential effects include unauthorized execution of scripts, resulting in session hijacking where attackers gain access to user sessions, potentially capturing sensitive information. Attackers could modify or deface the content displayed on affected pages, damaging the website's integrity and user trust. Furthermore, the vulnerability could be used to create a persistent threat, where malicious scripts remain active within the application, executing each time a user accesses the compromised pages. Such exploitation can undermine the security posture of the application, leading to reputational damage and potential data breaches.

REFERENCES

Solution Advice
  • Update the Gmedia Photo Gallery plugin to version 1.20.0 or later.
  • Review your WordPress plugins regularly for available updates to patch known vulnerabilities.
  • Implement a Web Application Firewall (WAF) to block potential XSS attack vectors.
  • Ensure proper input sanitization and output escaping practices are followed throughout your website.
  • Limit the permissions of users who do not need administrative access to minimize XSS risks.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.