XSS in PmWiki Search Module (q parameter)
A cross-site scripting (XSS) vulnerability exists in the Search module of PmWiki up to version 2.0.12. The vulnerability is due to insufficient sanitization of user-supplied input in the 'q' parameter, allowing attackers to inject arbitrary web script or HTML.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary JavaScript or HTML in the context of the user's browser session, potentially leading to session hijacking, credential theft, or defacement.
If you can’t patch tonight, do this now.
As an interim measure, apply input validation and output encoding on the 'q' parameter, or disable the Search module if not required, to prevent injection of malicious scripts.
Patch, then assume compromise.
Upgrade PmWiki to a version later than 2.0.12 where the input handling for the 'q' parameter in the Search module is properly sanitized.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.