Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/7929?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7929?format=api",
    "vulnerability_id": "VCID-fr48-r964-g3aw",
    "summary": "In Wagtail before versions 2.7.4 and 2.9.3, when a form page type is made available to Wagtail editors through the `wagtail.contrib.forms` app, and the page template is built using Django's standard form rendering helpers such as form.as_p, any HTML tags used within a form field's help text will be rendered unescaped in the page. Allowing HTML within help text is an intentional design decision by Django; however, as a matter of policy Wagtail does not allow editors to insert arbitrary HTML by default, as this could potentially be used to carry out cross-site scripting attacks, including privilege escalation. This functionality should therefore not have been made available to editor-level users. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. Patched versions have been released as Wagtail 2.7.4 (for the LTS 2.7 branch) and Wagtail 2.9.3 (for the current 2.9 branch). In these versions, help text will be escaped to prevent the inclusion of HTML tags. Site owners who wish to re-enable the use of HTML within help text (and are willing to accept the risk of this being exploited by editors) may set WAGTAILFORMS_HELP_TEXT_ALLOW_HTML = True in their configuration settings. Site owners who are unable to upgrade to the new versions can secure their form page templates by rendering forms field-by-field as per Django's documentation, but omitting the |safe filter when outputting the help text.",
    "aliases": [
        {
            "alias": "CVE-2020-15118"
        },
        {
            "alias": "GHSA-2473-9hgq-j7xw"
        },
        {
            "alias": "PYSEC-2020-154"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/16574?format=api",
            "purl": "pkg:pypi/wagtail@2.7.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-12d4-1bj5-2yb5"
                },
                {
                    "vulnerability": "VCID-2upt-d3sg-ebea"
                },
                {
                    "vulnerability": "VCID-5p3e-kwee-ukfr"
                },
                {
                    "vulnerability": "VCID-8jfe-n528-xuc2"
                },
                {
                    "vulnerability": "VCID-8k9y-g5uj-nfaz"
                },
                {
                    "vulnerability": "VCID-9u79-7g62-23dk"
                },
                {
                    "vulnerability": "VCID-btdp-8uac-rkhp"
                },
                {
                    "vulnerability": "VCID-cfkh-sdk4-3uan"
                },
                {
                    "vulnerability": "VCID-pkcr-w2en-dufq"
                },
                {
                    "vulnerability": "VCID-qf1m-zu2w-dbds"
                },
                {
                    "vulnerability": "VCID-yvjp-hx9y-mkgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wagtail@2.7.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/16575?format=api",
            "purl": "pkg:pypi/wagtail@2.9.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-12d4-1bj5-2yb5"
                },
                {
                    "vulnerability": "VCID-2upt-d3sg-ebea"
                },
                {
                    "vulnerability": "VCID-5p3e-kwee-ukfr"
                },
                {
                    "vulnerability": "VCID-8jfe-n528-xuc2"
                },
                {
                    "vulnerability": "VCID-8k9y-g5uj-nfaz"
                },
                {
                    "vulnerability": "VCID-9u79-7g62-23dk"
                },
                {
                    "vulnerability": "VCID-btdp-8uac-rkhp"
                },
                {
                    "vulnerability": "VCID-cfkh-sdk4-3uan"
                },
                {
                    "vulnerability": "VCID-pkcr-w2en-dufq"
                },
                {
                    "vulnerability": "VCID-qf1m-zu2w-dbds"
                },
                {
                    "vulnerability": "VCID-yvjp-hx9y-mkgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wagtail@2.9.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/14195?format=api",
            "purl": "pkg:pypi/wagtail@2.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-12d4-1bj5-2yb5"
                },
                {
                    "vulnerability": "VCID-2upt-d3sg-ebea"
                },
                {
                    "vulnerability": "VCID-5p3e-kwee-ukfr"
                },
                {
                    "vulnerability": "VCID-8jfe-n528-xuc2"
                },
                {
                    "vulnerability": "VCID-8k9y-g5uj-nfaz"
                },
                {
                    "vulnerability": "VCID-9u79-7g62-23dk"
                },
                {
                    "vulnerability": "VCID-btdp-8uac-rkhp"
                },
                {
                    "vulnerability": "VCID-cfkh-sdk4-3uan"
                },
                {
                    "vulnerability": "VCID-fr48-r964-g3aw"
                },
                {
                    "vulnerability": "VCID-huy8-gg6m-t3gz"
                },
                {
                    "vulnerability": "VCID-pkcr-w2en-dufq"
                },
                {
                    "vulnerability": "VCID-qf1m-zu2w-dbds"
                },
                {
                    "vulnerability": "VCID-sfrz-j9f2-9qgj"
                },
                {
                    "vulnerability": "VCID-yvjp-hx9y-mkgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wagtail@2.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/14196?format=api",
            "purl": "pkg:pypi/wagtail@2.7.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-12d4-1bj5-2yb5"
                },
                {
                    "vulnerability": "VCID-2upt-d3sg-ebea"
                },
                {
                    "vulnerability": "VCID-5p3e-kwee-ukfr"
                },
                {
                    "vulnerability": "VCID-8jfe-n528-xuc2"
                },
                {
                    "vulnerability": "VCID-8k9y-g5uj-nfaz"
                },
                {
                    "vulnerability": "VCID-9u79-7g62-23dk"
                },
                {
                    "vulnerability": "VCID-btdp-8uac-rkhp"
                },
                {
                    "vulnerability": "VCID-cfkh-sdk4-3uan"
                },
                {
                    "vulnerability": "VCID-fr48-r964-g3aw"
                },
                {
                    "vulnerability": "VCID-huy8-gg6m-t3gz"
                },
                {
                    "vulnerability": "VCID-pkcr-w2en-dufq"
                },
                {
                    "vulnerability": "VCID-qf1m-zu2w-dbds"
                },
                {
                    "vulnerability": "VCID-sfrz-j9f2-9qgj"
                },
                {
                    "vulnerability": "VCID-yvjp-hx9y-mkgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wagtail@2.7.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/14197?format=api",
            "purl": "pkg:pypi/wagtail@2.7.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-12d4-1bj5-2yb5"
                },
                {
                    "vulnerability": "VCID-2upt-d3sg-ebea"
                },
                {
                    "vulnerability": "VCID-5p3e-kwee-ukfr"
                },
                {
                    "vulnerability": "VCID-8jfe-n528-xuc2"
                },
                {
                    "vulnerability": "VCID-8k9y-g5uj-nfaz"
                },
                {
                    "vulnerability": "VCID-9u79-7g62-23dk"
                },
                {
                    "vulnerability": "VCID-btdp-8uac-rkhp"
                },
                {
                    "vulnerability": "VCID-cfkh-sdk4-3uan"
                },
                {
                    "vulnerability": "VCID-fr48-r964-g3aw"
                },
                {
                    "vulnerability": "VCID-pkcr-w2en-dufq"
                },
                {
                    "vulnerability": "VCID-qf1m-zu2w-dbds"
                },
                {
                    "vulnerability": "VCID-sfrz-j9f2-9qgj"
                },
                {
                    "vulnerability": "VCID-yvjp-hx9y-mkgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wagtail@2.7.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/14329?format=api",
            "purl": "pkg:pypi/wagtail@2.7.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-12d4-1bj5-2yb5"
                },
                {
                    "vulnerability": "VCID-2upt-d3sg-ebea"
                },
                {
                    "vulnerability": "VCID-5p3e-kwee-ukfr"
                },
                {
                    "vulnerability": "VCID-8jfe-n528-xuc2"
                },
                {
                    "vulnerability": "VCID-8k9y-g5uj-nfaz"
                },
                {
                    "vulnerability": "VCID-9u79-7g62-23dk"
                },
                {
                    "vulnerability": "VCID-btdp-8uac-rkhp"
                },
                {
                    "vulnerability": "VCID-cfkh-sdk4-3uan"
                },
                {
                    "vulnerability": "VCID-fr48-r964-g3aw"
                },
                {
                    "vulnerability": "VCID-pkcr-w2en-dufq"
                },
                {
                    "vulnerability": "VCID-qf1m-zu2w-dbds"
                },
                {
                    "vulnerability": "VCID-yvjp-hx9y-mkgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wagtail@2.7.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/20358?format=api",
            "purl": "pkg:pypi/wagtail@2.8rc1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-12d4-1bj5-2yb5"
                },
                {
                    "vulnerability": "VCID-2upt-d3sg-ebea"
                },
                {
                    "vulnerability": "VCID-5p3e-kwee-ukfr"
                },
                {
                    "vulnerability": "VCID-8jfe-n528-xuc2"
                },
                {
                    "vulnerability": "VCID-8k9y-g5uj-nfaz"
                },
                {
                    "vulnerability": "VCID-9u79-7g62-23dk"
                },
                {
                    "vulnerability": "VCID-btdp-8uac-rkhp"
                },
                {
                    "vulnerability": "VCID-cfkh-sdk4-3uan"
                },
                {
                    "vulnerability": "VCID-fr48-r964-g3aw"
                },
                {
                    "vulnerability": "VCID-pkcr-w2en-dufq"
                },
                {
                    "vulnerability": "VCID-qf1m-zu2w-dbds"
                },
                {
                    "vulnerability": "VCID-sfrz-j9f2-9qgj"
                },
                {
                    "vulnerability": "VCID-yvjp-hx9y-mkgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wagtail@2.8rc1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/16571?format=api",
            "purl": "pkg:pypi/wagtail@2.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-12d4-1bj5-2yb5"
                },
                {
                    "vulnerability": "VCID-2upt-d3sg-ebea"
                },
                {
                    "vulnerability": "VCID-5p3e-kwee-ukfr"
                },
                {
                    "vulnerability": "VCID-8jfe-n528-xuc2"
                },
                {
                    "vulnerability": "VCID-8k9y-g5uj-nfaz"
                },
                {
                    "vulnerability": "VCID-9u79-7g62-23dk"
                },
                {
                    "vulnerability": "VCID-btdp-8uac-rkhp"
                },
                {
                    "vulnerability": "VCID-cfkh-sdk4-3uan"
                },
                {
                    "vulnerability": "VCID-fr48-r964-g3aw"
                },
                {
                    "vulnerability": "VCID-pkcr-w2en-dufq"
                },
                {
                    "vulnerability": "VCID-qf1m-zu2w-dbds"
                },
                {
                    "vulnerability": "VCID-yvjp-hx9y-mkgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wagtail@2.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/16572?format=api",
            "purl": "pkg:pypi/wagtail@2.9.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-12d4-1bj5-2yb5"
                },
                {
                    "vulnerability": "VCID-2upt-d3sg-ebea"
                },
                {
                    "vulnerability": "VCID-5p3e-kwee-ukfr"
                },
                {
                    "vulnerability": "VCID-8jfe-n528-xuc2"
                },
                {
                    "vulnerability": "VCID-8k9y-g5uj-nfaz"
                },
                {
                    "vulnerability": "VCID-9u79-7g62-23dk"
                },
                {
                    "vulnerability": "VCID-btdp-8uac-rkhp"
                },
                {
                    "vulnerability": "VCID-cfkh-sdk4-3uan"
                },
                {
                    "vulnerability": "VCID-fr48-r964-g3aw"
                },
                {
                    "vulnerability": "VCID-pkcr-w2en-dufq"
                },
                {
                    "vulnerability": "VCID-qf1m-zu2w-dbds"
                },
                {
                    "vulnerability": "VCID-yvjp-hx9y-mkgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wagtail@2.9.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/16573?format=api",
            "purl": "pkg:pypi/wagtail@2.9.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-12d4-1bj5-2yb5"
                },
                {
                    "vulnerability": "VCID-2upt-d3sg-ebea"
                },
                {
                    "vulnerability": "VCID-5p3e-kwee-ukfr"
                },
                {
                    "vulnerability": "VCID-8jfe-n528-xuc2"
                },
                {
                    "vulnerability": "VCID-8k9y-g5uj-nfaz"
                },
                {
                    "vulnerability": "VCID-9u79-7g62-23dk"
                },
                {
                    "vulnerability": "VCID-btdp-8uac-rkhp"
                },
                {
                    "vulnerability": "VCID-cfkh-sdk4-3uan"
                },
                {
                    "vulnerability": "VCID-fr48-r964-g3aw"
                },
                {
                    "vulnerability": "VCID-pkcr-w2en-dufq"
                },
                {
                    "vulnerability": "VCID-qf1m-zu2w-dbds"
                },
                {
                    "vulnerability": "VCID-yvjp-hx9y-mkgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/wagtail@2.9.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-15118",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00595",
                    "scoring_system": "epss",
                    "scoring_elements": "0.69644",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-15118"
        },
        {
            "reference_url": "https://docs.djangoproject.com/en/3.0/ref/models/fields/#django.db.models.Field.help_text",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "7.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://docs.djangoproject.com/en/3.0/ref/models/fields/#django.db.models.Field.help_text"
        },
        {
            "reference_url": "https://docs.wagtail.io/en/stable/reference/contrib/forms/index.html#usage",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "7.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://docs.wagtail.io/en/stable/reference/contrib/forms/index.html#usage"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/wagtail/PYSEC-2020-154.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "7.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/wagtail/PYSEC-2020-154.yaml"
        },
        {
            "reference_url": "https://github.com/wagtail/wagtail",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "7.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/wagtail/wagtail"
        },
        {
            "reference_url": "https://github.com/wagtail/wagtail/blob/master/docs/releases/2.9.3.rst",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "7.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/wagtail/wagtail/blob/master/docs/releases/2.9.3.rst"
        },
        {
            "reference_url": "https://github.com/wagtail/wagtail/commit/d9a41e7f24d08c024acc9a3094940199df94db34",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "7.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/wagtail/wagtail/commit/d9a41e7f24d08c024acc9a3094940199df94db34"
        },
        {
            "reference_url": "https://github.com/wagtail/wagtail/security/advisories/GHSA-2473-9hgq-j7xw",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "7.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/wagtail/wagtail/security/advisories/GHSA-2473-9hgq-j7xw"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15118",
            "reference_id": "CVE-2020-15118",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "7.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15118"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-2473-9hgq-j7xw",
            "reference_id": "GHSA-2473-9hgq-j7xw",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-2473-9hgq-j7xw"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.7 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fr48-r964-g3aw"
}