Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Nov 25, 2026

CVE-2022-51031 Scanner

CVE-2022-51031 Scanner - Cross-Site Scripting (XSS) vulnerability in PMB

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
0
Times Used
continuous scan runs
4.7k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
5.1
CVSSmedium
Exploitable remotely over the internet · no authentication required.
Description

PMB 7.3.1 before 7.3.15 and 7.4.x before 7.4.5 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject script through unescaped POST parameter names. Attackers can send crafted parameter names to opac_css/index.php extended_search, which empr.inc.php and languages.inc.php reflect into hidden form inputs to execute JavaScript. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-23.

Attack Vector
Network
Privileges Req.
None
User Interaction
A
Affected
PMBby PMB Services
AFFECTED< 7.3.15→SAFE ✓≥ 7.3.15
Updated Nov 29, 2026View on NVD →
Detail

PMB (PhpMyBibli) is widely used by libraries and other organizations for managing bibliographic data and resources. This software is utilized by individuals and institutions for organizing, cataloging, and sharing library collections. By offering an extensive range of features for resource management, PMB aids in efficient library operations. This functionality enables users to automate their collection management processes and share bibliographic data efficiently. Institutions that rely on PMB benefit from seamless cataloging and improved accessibility of library resources. The software is a valuable tool for enhancing the management of bibliographic records in various settings.

Cross-Site Scripting (XSS) is a vulnerability that allows attackers to inject malicious scripts into web applications viewed by other users. These scripts can run in the context of the user's browser, leading to potential data theft or session hijacking. XSS vulnerabilities are generally exploited by injecting scripts into form inputs or URL parameters, enabling attackers to perform unauthorized actions. In the context of PMB, unauthenticated attackers can exploit unescaped POST parameter names in opac_css/index.php to run JavaScript in users' browsers. This flaw can be used as a vector for various attacks, including delivering payloads for phishing schemes. Understanding and mitigating XSS is critical for maintaining the integrity and security of web applications.

The PMB vulnerability arises from unescaped POST parameter names in opac_css/index.php, enabling attackers to inject JavaScript. An attacker can craft a malicious payload which, when executed in a user's browser, triggers JavaScript, leading to potential script execution. The flaw is particularly potent because it doesn't require user authentication to gain access, increasing the risk profiles of all affected users. This vulnerability has been identified in PMB versions 7.3.1 through 7.3.15 and 7.4.x before 7.4.5. The most effective resolution is updating the application to a version where this vulnerability is patched. It's imperative for users of the affected PMB versions to verify their versions and ensure their systems are not exposed.

Exploiting this vulnerability could result in attackers executing arbitrary JavaScript in users' browsers. This can lead to session hijacking, where an attacker gains access to the user's session, potentially leading to unauthorized actions. Additionally, phishing attacks can be executed through the injection of deceptive scripts, leading users to divulge sensitive information unwittingly. The vulnerability opens a vector for attackers to manipulate web content viewed by other users, creating a broad array of exploitation opportunities. Left unchecked, XSS vulnerabilities undermine user trust and expose sensitive user data to malicious entities. Organizations must prioritize patching these flaws to maintain secure and trustworthy systems for their users.

REFERENCES

Solution Advice
  • Upgrade PMB to versions 7.3.15 or 7.4.5 or later to mitigate the vulnerability.
  • Implement a web application firewall (WAF) to detect and block malicious requests.
  • Ensure server-side input validation and encoding to prevent script injection.
  • Regularly audit and review code for additional potential vulnerabilities.
  • Educate developers and staff on secure coding practices to prevent similar issues.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

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

Browse All Tools