CVE-2022-0661
El plugin Ad Injection de WordPress versiones hasta 1.2.0.19, no sanea correctamente el cuerpo de los anuncios inyectados en las páginas, lo que permite a un usuario con altos privilegios (Admin+) inyectar HTML o javascript arbitrario incluso con unfiltered_html deshabilitado, conllevando a una vulnerabilidad de tipo Cross-Site Scripting (XSS) almacenada. Además, también es posible inyectar código PHP, conllevando a una vulnerabilidad de ejecución de código remota (RCE), incluso si las constantes DISALLOW_FILE_EDIT y DISALLOW_FILE_MOD están establecidas
CVSS
- Puntuación base
- 7.2
- Versión
- 3.1
- Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días
- 40 %
- Percentil entre todas las CVEs puntuadas
- 99
- Fecha de la puntuación
- 20/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- CWE-94
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2022-0661",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 6.5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
"authentication": "SINGLE",
"integrityImpact": "PARTIAL",
"accessComplexity": "LOW",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.2,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "HIGH",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 1.2
}
]
},
"affected": [
{
"source": "contact@wpscan.com",
"affectedData": [
{
"vendor": "Unknown",
"product": "Ad Injection",
"versions": [
{
"status": "affected",
"version": "1.2.0.19",
"versionType": "custom",
"lessThanOrEqual": "1.2.0.19"
}
]
}
]
}
],
"published": "2022-04-18T18:15:08.200",
"references": [
{
"url": "https://wpscan.com/vulnerability/3c5a7b03-d4c3-46b9-af65-fb50e58b0bfd",
"tags": [
"Exploit",
"Third Party Advisory"
],
"source": "contact@wpscan.com"
},
{
"url": "https://wpscan.com/vulnerability/3c5a7b03-d4c3-46b9-af65-fb50e58b0bfd",
"tags": [
"Exploit",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "contact@wpscan.com",
"description": [
{
"lang": "en",
"value": "CWE-94"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "The Ad Injection WordPress plugin through 1.2.0.19 does not properly sanitize the body of the adverts injected into the pages, allowing a high privileged user (Admin+) to inject arbitrary HTML or javascript even with unfiltered_html disallowed, leading to a stored cross-site scripting (XSS) vulnerability. Further it is also possible to inject PHP code, leading to a Remote Code execution (RCE) vulnerability, even if the DISALLOW_FILE_EDIT and DISALLOW_FILE_MOD constants are both set."
},
{
"lang": "es",
"value": "El plugin Ad Injection de WordPress versiones hasta 1.2.0.19, no sanea correctamente el cuerpo de los anuncios inyectados en las páginas, lo que permite a un usuario con altos privilegios (Admin+) inyectar HTML o javascript arbitrario incluso con unfiltered_html deshabilitado, conllevando a una vulnerabilidad de tipo Cross-Site Scripting (XSS) almacenada. Además, también es posible inyectar código PHP, conllevando a una vulnerabilidad de ejecución de código remota (RCE), incluso si las constantes DISALLOW_FILE_EDIT y DISALLOW_FILE_MOD están establecidas"
}
],
"lastModified": "2026-06-17T04:21:01.327",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:ad_injection_project:ad_injection:*:*:*:*:*:wordpress:*:*",
"vulnerable": true,
"matchCriteriaId": "77037B60-3BD0-485C-BD14-AF19BC133A30",
"versionEndIncluding": "1.2.0.19"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "contact@wpscan.com"
}