High
Security advisory
In PrestaShop through 1.7.2.5, a UI-Redressing/Clickjacking vulnerability was found that might lead to state-changing impact in the context of a user or an admin, because the generateHtaccess function in classes/Tools.php sets neither X-Frame-Options nor 'Content-Security-Policy "frame-ancestors' values.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-7491
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:43 UTC · Revision 1
Source evidence
In PrestaShop through 1.7.2.5, a UI-Redressing/Clickjacking vulnerability was found that might lead to state-changing impact in the context of a user or an admin, because the generateHtaccess function in classes/Tools.php sets neither X-Frame-Options nor 'Content-Security-Policy "frame-ancestors' values.
osv:CVE-2018-7491
Complete source record
{
"id": "0803ea03f88895564f9a777316147d021fbee07be77b612cf2fd9a4f04f26e45",
"url": "https://osv.dev/vulnerability/CVE-2018-7491",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-7491",
"summary": "In PrestaShop through 1.7.2.5, a UI-Redressing/Clickjacking vulnerability was found that might lead to state-changing impact in the context of a user or an admin, because the generateHtaccess function in classes/Tools.php sets neither X-Frame-Options nor 'Content-Security-Policy \"frame-ancestors' values.",
"evidence": "osv:CVE-2018-7491",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-7491",
"aliases": [
"CVE-2018-7491"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/prestashop/prestashop",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "1bd0f2291a5060cd00b15aa15a78cfd10198e062"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.7.2.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.7.2.0",
"1.7.2.5",
"1.7.2.4",
"1.7.2.3",
"1.7.2.2",
"1.7.2.1",
"1.7.2.0-rc.1.0",
"1.7.0.0-rc.0.0",
"1.7.0.0-beta.4.0",
"1.7.0.0-beta.2.0",
"1.7.0.0-beta.1.0",
"1.6.1.0",
"1.6.0.3",
"1.6.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7491.json"
}
}
],
"modified": "2026-10-24T10:49:42.136274114Z",
"provider": "osv",
"references": [
"https://github.com/PrestaShop/PrestaShop/pull/8807"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:*"
],
"vendor_product": "prestashop:prestashop",
"extracted_events": [
{
"range": [
{
"last_affected": "1.7.2.5"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-7491",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441802,
"published_at": "2018-02-26T17:29:00.35+00:00"
}