Firefox · DOM
CVE-2026-117919
Logic Error in DOM
Overview
High
Severity
—
CVSS
No
Exploited ITW
Fixed
Fix Status
Changed Functions
| Function | Change | Notes |
|---|---|---|
fordom/html/HTMLFieldSetElement.cpp |
modified |
Files Changed
dom/html/HTMLFieldSetElement.cpp
Patch
diff --git a/dom/html/HTMLFieldSetElement.cpp b/dom/html/HTMLFieldSetElement.cpp
index 8b5a2a90337..cb633d9fe29 100644
--- a/dom/html/HTMLFieldSetElement.cpp
+++ b/dom/html/HTMLFieldSetElement.cpp
@@ -11,6 +11,7 @@
#include "mozilla/dom/ContentList.h"
#include "mozilla/dom/CustomElementRegistry.h"
#include "mozilla/dom/HTMLFieldSetElementBinding.h"
+#include "nsContentUtils.h"
#include "nsQueryObject.h"
NS_IMPL_NS_NEW_HTML_ELEMENT(FieldSet)
@@ -280,6 +281,7 @@ void HTMLFieldSetElement::NotifyElementsForFirstLegendChange(bool aNotify) {
new ContentList(this, MatchListedElements, nullptr, nullptr, true);
}
+ nsAutoScriptBlocker scriptBlocker;
uint32_t length = mElements->Length();
for (uint32_t i = 0; i < length; ++i) {
static_cast<nsGenericHTMLFormElement*>(mElements->Item(i))
Loading diff…
References
On This Page