{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "Firefox",
                    "vendor": "Mozilla",
                    "versions": [
                        {
                            "lessThan": "57",
                            "status": "affected",
                            "version": "unspecified",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "datePublic": "2017-11-14T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "JavaScript can be injected into an exported bookmarks file by placing JavaScript code into user-supplied tags in saved bookmarks. If the resulting exported HTML file is later opened in a browser this JavaScript will be executed. This could be used in social engineering and self-cross-site-scripting (self-XSS) attacks if users were convinced to add malicious tags to bookmarks, export them, and then open the resulting file. This vulnerability affects Firefox < 57."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "Exported bookmarks do not strip script elements from user-supplied tags",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2018-06-12T09:57:01",
                "orgId": "f16b083a-5664-49f3-a51e-8d479e5ed7fe",
                "shortName": "mozilla"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1366420"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://www.mozilla.org/security/advisories/mfsa2017-24/"
                },
                {
                    "name": "101832",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_BID"
                    ],
                    "url": "http://www.securityfocus.com/bid/101832"
                },
                {
                    "name": "1039803",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_SECTRACK"
                    ],
                    "url": "http://www.securitytracker.com/id/1039803"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "security@mozilla.org",
                    "ID": "CVE-2017-7840",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "Firefox",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_affected": "<",
                                                        "version_value": "57"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "Mozilla"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "JavaScript can be injected into an exported bookmarks file by placing JavaScript code into user-supplied tags in saved bookmarks. If the resulting exported HTML file is later opened in a browser this JavaScript will be executed. This could be used in social engineering and self-cross-site-scripting (self-XSS) attacks if users were convinced to add malicious tags to bookmarks, export them, and then open the resulting file. This vulnerability affects Firefox < 57."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "Exported bookmarks do not strip script elements from user-supplied tags"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://bugzilla.mozilla.org/show_bug.cgi?id=1366420",
                            "refsource": "CONFIRM",
                            "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1366420"
                        },
                        {
                            "name": "https://www.mozilla.org/security/advisories/mfsa2017-24/",
                            "refsource": "CONFIRM",
                            "url": "https://www.mozilla.org/security/advisories/mfsa2017-24/"
                        },
                        {
                            "name": "101832",
                            "refsource": "BID",
                            "url": "http://www.securityfocus.com/bid/101832"
                        },
                        {
                            "name": "1039803",
                            "refsource": "SECTRACK",
                            "url": "http://www.securitytracker.com/id/1039803"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-05T16:19:28.484Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1366420"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://www.mozilla.org/security/advisories/mfsa2017-24/"
                    },
                    {
                        "name": "101832",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_BID",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/bid/101832"
                    },
                    {
                        "name": "1039803",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_SECTRACK",
                            "x_transferred"
                        ],
                        "url": "http://www.securitytracker.com/id/1039803"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "f16b083a-5664-49f3-a51e-8d479e5ed7fe",
        "assignerShortName": "mozilla",
        "cveId": "CVE-2017-7840",
        "datePublished": "2018-06-11T21:00:00",
        "dateReserved": "2017-04-12T00:00:00",
        "dateUpdated": "2024-08-05T16:19:28.484Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}