{"schemaVersion":3,"id":"CVE-2021-24820","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The Cost Calculator WordPress plugin through 1.6 allows authenticated users (Contributor+ in versions < 1.5, and Admin+ in versions <= 1.6) to perform path traversal and local PHP file inclusion on Windows Web Servers via the Cost Calculator post's Layout","dates":{"published":"2022-02-28T09:06:10.000Z","modified":"2024-08-03T19:42:17.213Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"wordfence","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03047,"percentile":0.8743,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.03047},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.03047,"percentile":0.8743}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03047,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.03047,"percentile":0.8743}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-98","name":"Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')","description":"The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in \"require,\" \"include,\" or similar functions.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/98.html"}],"affected":[{"vendor":"bold-themes","product":"cost_calculator","name":"cost calculator","label":"cost_calculator","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.6","eol":null,"hubHref":"/vendor/bold-themes/cost_calculator"},{"vendor":"unknown","product":"cost calculator","name":"Cost Calculator","label":"cost calculator","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.6","eol":null,"hubHref":"/vendor/unknown/cost_calculator"},{"vendor":"wordpress","product":"nd-projects","name":"Cost Calculator","label":"nd-projects","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.8","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/47652b24-a6f0-4bbc-834e-496b88523fe7","label":"wpscan.com/vulnerability/47652b24-a6f0-4bbc-834e-496b88523fe7","hostname":"wpscan.com","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/2f21139b-75ef-4631-b88d-23eebbdefee0","label":"www.wordfence.com/threat-intel/vulnerabilities/id/2f21139b-75ef-4631-b88d-23eebbdefee0","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-02-28T09:06:10.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T19:42:17.213Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T00:09:47.799Z","stale":false,"partial":false}}