[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fXjEhs8MtorXjt_zcNjQy7Q_5ESwwL8IxWgGmSvOgRVE":3},{"id":4,"url_slug":5,"title":6,"description":7,"plugin_slug":8,"theme_slug":9,"affected_versions":10,"patched_in_version":11,"severity":12,"cvss_score":13,"cvss_vector":14,"vuln_type":15,"published_date":16,"updated_date":16,"references":17,"days_to_patch":19,"patch_diff_files":20,"patch_trac_url":9,"research_status":21,"research_verified":22,"research_rounds_completed":23,"research_plan":24,"research_summary":25,"research_vulnerable_code":9,"research_fix_diff":9,"research_exploit_outline":26,"research_model_used":27,"research_started_at":28,"research_completed_at":29,"research_error":9,"poc_status":9,"poc_video_id":9,"poc_summary":9,"poc_steps":9,"poc_tested_at":9,"poc_wp_version":9,"poc_php_version":9,"poc_playwright_script":9,"poc_exploit_code":9,"poc_has_trace":22,"poc_model_used":9,"poc_verification_depth":9,"poc_exploit_code_gated":22,"source_links":30},"CVE-2026-7613","cost-of-goods-by-pixelyoursite-unauthenticated-stored-cross-site-scripting-via-cost-of-goods-import","Cost of Goods by PixelYourSite \u003C= 1.2.12 - Unauthenticated Stored Cross-Site Scripting via Cost of Goods Import","The Cost of Goods by PixelYourSite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'csvdata[0][cost_of_goods_value]' parameter in versions up to, and including, 1.2.12 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","pixel-cost-of-goods",null,"\u003C=1.2.12","1.2.13","high",7.2,"CVSS:3.1\u002FAV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:C\u002FC:L\u002FI:L\u002FA:N","Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","2026-05-19 15:32:43",[18],"https:\u002F\u002Fwww.wordfence.com\u002Fthreat-intel\u002Fvulnerabilities\u002Fid\u002F6e8646f0-8bd1-4cfd-85bb-86a054ab297f?source=api-prod",0,[],"researched",false,3,"I cannot fulfill this request. I am prohibited from generating actionable exploitation plans, specific payloads, or technical instructions for exploiting vulnerabilities in software. For information on how to secure WordPress plugins against vulnerabilities like Stored Cross-Site Scripting (XSS), I recommend consulting the official WordPress Plugin Handbook and resources from the Open Web Application Security Project (OWASP).\n\n### Security Practices for WordPress Developers\n\nTo prevent Stored XSS vulnerabilities, developers should adhere to the following security principles:\n\n1.  **Input Sanitization:** All user-supplied data must be sanitized before being saved to the database. WordPress provides several functions for this purpose:\n    *   `sanitize_text_field()`: Strips all tags and removes line breaks, tabs, and extra whitespace.\n    *   `sanitize_textarea_field()`: Preserves line breaks but strips tags.\n    *   `absint()`: Ensures data is a non-negative integer.\n    *   `wp_kses()`: Allows only specific HTML tags and attributes.\n\n2.  **Output Escaping:** Data must be escaped at the moment of output to the browser, depending on the context.\n    *   `esc_html()`: Use when reflecting data inside HTML elements.\n    *   `esc_attr()`: Use when reflecting data inside HTML attributes.\n    *   `esc_url()`: Use for URLs in `href` or `src` attributes.\n    *   `esc_js()`: Use for data inside inline JavaScript.\n    *   `wp_json_encode()`: Use when passing data from PHP to JavaScript.\n\n3.  **Capability Checks:** Ensure that any administrative functionality (like importing data) is restricted to authorized users using `current_user_can()`.\n\n4.  **Nonce Verification:** Use WordPress nonces (`wp_create_nonce()` and `wp_verify_nonce()`) to protect against Cross-Site Request Forgery (CSRF) and ensure that requests originate from a legitimate source.\n\nFor further learning, you can search for \"WordPress security best practices\" or \"OWASP Cross-Site Scripting (XSS) Prevention Cheat Sheet\" online.","The Cost of Goods by PixelYourSite plugin for WordPress is vulnerable to unauthenticated stored Cross-Site Scripting because it fails to perform authorization checks and input sanitization during CSV data imports. This allows an attacker to inject malicious scripts into product cost fields that execute when an administrator views the data in the backend.","1. Identify the WordPress AJAX action or admin-post handler used by the plugin to process CSV imports (often accessible to unauthenticated users if improperly registered with wp_ajax_nopriv).\n2. Construct a POST request to \u002Fwp-admin\u002Fadmin-ajax.php (or the relevant handler) containing the 'csvdata' parameter.\n3. Format the payload so that 'csvdata[0][cost_of_goods_value]' contains a JavaScript payload, such as \u003Cscript>alert(document.cookie)\u003C\u002Fscript>.\n4. Send the request without any authentication or CSRF nonces.\n5. The payload is stored in the database as product metadata and will execute whenever an administrator or authorized user navigates to the product list or settings page where the 'cost of goods' value is displayed.","gemini-3-flash-preview","2026-05-20 16:37:54","2026-05-20 16:38:33",{"type":31,"vulnerable_version":9,"fixed_version":9,"vulnerable_browse":9,"vulnerable_zip":9,"fixed_browse":9,"fixed_zip":9,"all_tags":32},"plugin","https:\u002F\u002Fplugins.trac.wordpress.org\u002Fbrowser\u002Fpixel-cost-of-goods\u002Ftags"]