{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-24322 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-24322 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24322 is a medium-severity cross-site scripting vulnerability in Delicious Brains Database Backup for WordPress, published on 1 Jun 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-24322 and fix it if it is affected.\n\nWhat it is: CVE-2021-24322 is a medium-severity cross-site scripting vulnerability in Delicious Brains Database Backup for WordPress, published on 1 Jun 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-24322 in the wild and no public exploit code.\n\nAffected product: Delicious Brains Database Backup for WordPress. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-24322/ (Markdown: https://insights.sbomify.com/CVE-2021-24322/index.md)","id":"CVE-2021-24322","markdown":"https://insights.sbomify.com/CVE-2021-24322/index.md","name":"CVE-2021-24322","record":{"aliases":["GHSA-4737-m2m8-j7xf"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Authenticated attackers can inject persistent scripts via the backup recipient field, potentially hijacking admin sessions in Database Backup for WordPress.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"database_backup","vendor":"deliciousbrains"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"The Database Backup for WordPress plugin before 2.4 did not escape the backup_recipient POST parameter in before output it back in the attribute of an HTML tag, leading to a Stored Cross-Site Scripting issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Database Backup for WordPress \u003c 2.4 - Authenticated Persistent Cross-Site Scripting (XSS)","id":"CVE-2021-24322","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Woocommerce \u003c 5.2.0 - Authenticated Stored Cross-Site Scripting (XSS)","id":"CVE-2021-24323"},"packages":[],"prev":{"headline":"Bello \u003c 1.6.0 - Unauthenticated Blind SQL Injection","id":"CVE-2021-24321"},"products":["Database Backup for WordPress"],"published":"2021-06-01","related":[{"cvss_score":7.2,"headline":"Database Backup for WordPress \u003c 2.5.1 - Admin+ SQL Injection","id":"CVE-2022-0255","kev_date_added":null,"published":"2022-02-21"},{"cvss_score":5.4,"headline":"Database Backup for WordPress \u003c 2.5.2 - Arbitrary Schedule Settings Update via CSRF","id":"CVE-2022-1577","kev_date_added":null,"published":"2022-06-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Delicious Brains"]},"summary":"Authenticated attackers can inject persistent scripts via the backup recipient field, potentially hijacking admin sessions in Database Backup for WordPress.","url":"https://insights.sbomify.com/CVE-2021-24322/"}