CVE-2026-119331

Source
https://cve.org/CVERecord?id=CVE-2026-119331
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119331.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-119331
Aliases
  • GHSA-xj66-c4cw-xwh3
Published
2026-10-30T19:56:01Z
Modified
2026-11-04T07:07:31Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Ladybird: Missing origin-clean enforcement in CSSStyleSheet allows cross-origin CSS read and mutation
Details

Ladybird is a truly independent web browser. Prior to the c0d68bddf3e3616e5173835f0f4c155ee9700d91 commit, CSSStyleSheet.cssRules, insertRule(), and deleteRule() in Libraries/LibWeb/CSS/CSSStyleSheet.cpp did not enforce the stylesheet origin-clean flag with the required SecurityError, even though cross-origin imported stylesheets were correctly marked non-origin-clean. A malicious page could read parsed rules from a stylesheet loaded without CORS and could insert or delete rules in the victim stylesheet, bypassing the Same-Origin Policy. Reading could expose selectors, generated content, feature markers, or other sensitive rule text, while mutation could alter page visibility or layout. The issue does not provide memory corruption, code execution, or persistence after the attacker page closes. This vulnerability is fixed by commit c0d68bddf3e3616e5173835f0f4c155ee9700d91.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-200",
        "CWE-346"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119331.json"
}
References

Affected packages

Git / github.com/ladybirdbrowser/ladybird

Affected ranges

Type
GIT
Repo
https://github.com/ladybirdbrowser/ladybird
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "c0d68bddf3e3616e5173835f0f4c155ee9700d91"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "c0d68bddf3e3616e5173835f0f4c155ee9700d91"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119331.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "229318161054032648283114195910426866074",
            "length": 684
        },
        "id": "CVE-2026-119331-3bba6589",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/ladybirdbrowser/ladybird/commit/c0d68bddf3e3616e5173835f0f4c155ee9700d91",
        "target": {
            "file": "Libraries/LibWeb/CSS/StyleSheetState.cpp",
            "function": "StyleSheetState::delete_rule"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "222636913380094639651959772966033074769",
                "108036914051767839555984385075758406579",
                "42806368699531604629258390212432618317",
                "297226738108563337659181725391351605031"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-119331-721b21af",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/ladybirdbrowser/ladybird/commit/c0d68bddf3e3616e5173835f0f4c155ee9700d91",
        "target": {
            "file": "Libraries/LibWeb/CSS/CSSStyleSheet.h"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "322178103865713425455035919706980789847",
                "83947217352323345557260046395250070717",
                "84308851572128155852618210236475103382",
                "185121432279184930910959515487355980652",
                "35367354438442739220768308917820487034",
                "141687799539325313966596512986542738699"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-119331-81e705ca",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/ladybirdbrowser/ladybird/commit/c0d68bddf3e3616e5173835f0f4c155ee9700d91",
        "target": {
            "file": "Libraries/LibWeb/CSS/StyleSheetState.cpp"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "269053989622094069060541895468516399911",
            "length": 60
        },
        "id": "CVE-2026-119331-9b724fdb",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/ladybirdbrowser/ladybird/commit/c0d68bddf3e3616e5173835f0f4c155ee9700d91",
        "target": {
            "file": "Libraries/LibWeb/CSS/CSSStyleSheet.h",
            "function": "css_rules"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "227843271678580912570607739690207599257",
                "151310798197135038468281895599560110640",
                "63759070073589458605825325769331307652",
                "156972398918793854696071580151343148012",
                "222790561274047032450047191586057162295",
                "69971423634460402452139062452707072390",
                "300316088712135445779159059125259575139",
                "231823118490923068819480187770668879108"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-119331-de65c56c",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/ladybirdbrowser/ladybird/commit/c0d68bddf3e3616e5173835f0f4c155ee9700d91",
        "target": {
            "file": "Libraries/LibWeb/CSS/CSSStyleSheet.cpp"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "252098863229773805280342995547675555433",
            "length": 1028
        },
        "id": "CVE-2026-119331-f74062ad",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/ladybirdbrowser/ladybird/commit/c0d68bddf3e3616e5173835f0f4c155ee9700d91",
        "target": {
            "file": "Libraries/LibWeb/CSS/StyleSheetState.cpp",
            "function": "StyleSheetState::insert_rule"
        }
    }
]
vanir_signatures_modified
"2026-11-04T07:07:31Z"