Reflected XSS via unescaped admin-page parameters
Published Jan 3, 2022 · Updated Aug 3, 2024
Reflected XSS in WP Overnight PDF Invoices & Packing Slips for WooCommerce before 2.10.5 allows attackers to run script in an admin browser. The admin settings page reads the tab and section query parameters and places them unescaped into HTML attributes, permitting injected event handlers. Exploitation requires an administrator to open a crafted URL while signed in; the injected script runs in the WordPress admin origin with that user's privileges.
Summary
What happened
Reflected XSS in WP Overnight PDF Invoices & Packing Slips for WooCommerce before 2.10.5 allows attackers to run script in an admin browser. The admin settings page reads the tab and section query parameters and places them unescaped into HTML attributes, permitting injected event handlers. Exploitation requires an administrator to open a crafted URL while signed in; the injected script runs in the WordPress admin origin with that user's privileges.
The record
- CVE
- CVE-2021-24991
- Published
- Jan 3, 2022
- Updated
- Aug 3, 2024
- Vendor
- WP Overnight
- Product
- PDF Invoices & Packing Slips for WooCommerce
- Classifications
- CWE-79, T1204.001
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Jan 3, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.10.5 <2.10.5
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WPScan crafted admin-page URL proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo