原始 OSV JSON
{
"id": "GHSA-vwfx-hh3w-fj99",
"aliases": [
"CVE-2021-21418"
],
"details": "### Impact\nAn employee can inject javascript in the newsletter condition field that will then be executed on the front office\n\n### Patches\nThe issue has been fixed in 2.6.1",
"summary": "Potential XSS injection in the newsletter conditions field",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1"
}
]
}
],
"package": {
"name": "prestashop/ps_emailsubscription",
"ecosystem": "Packagist"
}
}
],
"modified": "2021-03-31T17:35:42Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
}
],
"published": "2021-04-06T17:24:14Z",
"references": [
{
"url": "https://github.com/PrestaShop/ps_emailsubscription/security/advisories/GHSA-vwfx-hh3w-fj99",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21418",
"type": "ADVISORY"
},
{
"url": "https://github.com/PrestaShop/ps_emailsubscription/commit/664ffb225e2afb4a32640bbedad667dc6e660b70",
"type": "WEB"
},
{
"url": "https://github.com/PrestaShop/ps_emailsubscription/releases/tag/v2.6.1",
"type": "WEB"
},
{
"url": "https://packagist.org/packages/prestashop/ps_emailsubscription",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-03-31T18:15:00Z",
"github_reviewed_at": "2021-03-31T17:35:42Z"
}
}